![]() |
![]() |
![]() |
Gnome Scan Reference Manual | ![]() |
---|---|---|---|---|
GnomeScanModuleManager; GnomeScanModuleManager* gnome_scan_module_manager_new (gchar *path); void gnome_scan_module_manager_query_modules (GnomeScanModuleManager *manager);
The GnomeScanModuleManager search in a list of path shared object, and instanciate a GnomeScanModule for each shared object. Upon initialization, the GnomeScanModule will register new GTypes. This implementation is meant to be portable, but never tested on other plateform that GNU/Linux.
typedef struct _GnomeScanModuleManager GnomeScanModuleManager;
The GnomeScanModuleManager object find and load all installed GnomeScanModule.
GnomeScanModuleManager* gnome_scan_module_manager_new (gchar *path);
Create a new GnomeScanModuleManager which will handle path
.
path : |
Search path. |
Returns : | a new GnomeScanModuleManager |
void gnome_scan_module_manager_query_modules (GnomeScanModuleManager *manager);
Search for shared objects in path, instanciate and initialize a GnomeScanModule for each shared object. Note that it won't search in subdirectories.
manager : |
a GnomeScanModuleManager |
path
" property"path" gchararray : Read / Write
The search path where are installed GnomeScanModule shared object. A search path is a string formed by a list of absolute path to directory separated by G_SEARCHPATH_SEPARATOR.
Default value: NULL