Top | ![]() |
![]() |
![]() |
![]() |
RygelPluginInformationRygelPluginInformation — Parse plugin sidecar file and provide path to the module. |
GHashTable * | conflicts | Read / Write / Construct Only |
gboolean | module-loaded | Read / Write |
char * | module-path | Read / Write / Construct Only |
char * | name | Read / Write / Construct Only |
#define | RYGEL_TYPE_PLUGIN_INFORMATION |
struct | RygelPluginInformation |
struct | RygelPluginInformationClass |
Sidecar files are keyfiles, loosely compatible with the files used by libpeas.
A minimal file for the plugin librygel-sompelugin.so looks like this:
[Plugin] Name = SomeNameForThePlugin Module = someplugin
Name must not contain any whitespaces.
const gchar *
rygel_plugin_information_get_module_path
(RygelPluginInformation *self
);
Get and return the current value of the "module-path" property.
const gchar *
rygel_plugin_information_get_name (RygelPluginInformation *self
);
Get and return the current value of the "name" property.
GHashTable *
rygel_plugin_information_get_conflicts
(RygelPluginInformation *self
);
Get and return the current value of the "conflicts" property.
gboolean
rygel_plugin_information_get_module_loaded
(RygelPluginInformation *self
);
Get and return the current value of the "module-loaded" property.
void rygel_plugin_information_set_module_loaded (RygelPluginInformation *self
,gboolean value
);
Set the value of the "module-loaded" property to value
.
self |
the RygelPluginInformation instance to modify |
|
value |
the new value of the "module-loaded" property |
RygelPluginInformation * rygel_plugin_information_new_from_file (GFile *file
,GError **error
);
Factory method to create a RygelPluginInformation from GFile.
#define RYGEL_TYPE_PLUGIN_INFORMATION (rygel_plugin_information_get_type ())
The type for RygelPluginInformation.
struct RygelPluginInformation;
Parse plugin sidecar file and provide path to the module.
Sidecar files are keyfiles, loosely compatible with the files used by libpeas.
A minimal file for the plugin librygel-sompelugin.so looks like this:
[Plugin] Name = SomeNameForThePlugin Module = someplugin
Name must not contain any whitespaces.
struct RygelPluginInformationClass { GObjectClass parent_class; };
The class structure for RYGEL_TYPE_PLUGIN_INFORMATION
. All the fields in this structure are private and should never be accessed directly.
“conflicts”
property“conflicts” GHashTable *
conflicts.
Owner: RygelPluginInformation
Flags: Read / Write / Construct Only
“module-loaded”
property“module-loaded” gboolean
module-loaded.
Owner: RygelPluginInformation
Flags: Read / Write
Default value: FALSE
“module-path”
property “module-path” char *
module-path.
Owner: RygelPluginInformation
Flags: Read / Write / Construct Only
Default value: NULL