Rygel.RecursiveModuleLoader – librygel-core – Vala Binding Reference

Rygel.RecursiveModuleLoader – librygel-core Reference Manual

# RecursiveModuleLoader

## Object Hierarchy:

## Description:

public abstract class RecursiveModuleLoader : `Object`

Recursivly walk a folder looking for shared libraries.

The folder can either be walked synchronously or asynchronously. Implementing classes need to implement the abstract method load_module_from_file() which is called when the walker encounters a dynamic module file.

All known sub-classes:

- PluginLoader

Namespace: Rygel
Package: librygel-core

## Content:

### Creation methods:

- public RecursiveModuleLoader (`string` path)
  Create a recursive module loader for a given path.

### Methods:

- public void load_modules ()
  Walk asynchronously through the tree and load modules.
- public void load_modules_sync (`Cancellable`? cancellable = null)
  Walk synchronously through the tree and load modules.
- protected abstract `bool` load_module_from_file (`File` file)
  Load module from file.