Top |
Functions
Signals
void | configuration-changed | Run Last |
void | section-changed | Run Last |
void | setting-changed | Run Last |
Types and Values
enum | RygelConfigurationEntry |
enum | RygelSectionEntry |
enum | RygelConfigurationError |
RygelConfiguration | |
struct | RygelConfigurationIface |
Object Hierarchy
GEnum ├── RygelConfigurationEntry ╰── RygelSectionEntry GInterface ╰── RygelConfiguration
Known Implementations
RygelConfiguration is implemented by RygelBaseConfiguration, RygelCmdlineConfig, RygelEnvironmentConfig, RygelMetaConfig and RygelUserConfig.
Functions
rygel_configuration_get_interface ()
gchar * rygel_configuration_get_interface (RygelConfiguration *self
,GError **error
);
rygel_configuration_get_interface
has been deprecated since version 0.19.2 and should not be used in newly-written code.
Replaced by rygel_configuration_get_interfaces()
.
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_interfaces ()
gchar ** rygel_configuration_get_interfaces (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_port ()
gint rygel_configuration_get_port (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_transcoding ()
gboolean rygel_configuration_get_transcoding (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_allow_upload ()
gboolean rygel_configuration_get_allow_upload (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_allow_deletion ()
gboolean rygel_configuration_get_allow_deletion (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_log_levels ()
gchar * rygel_configuration_get_log_levels (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_plugin_path ()
gchar * rygel_configuration_get_plugin_path (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_engine_path ()
gchar * rygel_configuration_get_engine_path (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_media_engine ()
gchar * rygel_configuration_get_media_engine (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_video_upload_folder ()
gchar * rygel_configuration_get_video_upload_folder (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_music_upload_folder ()
gchar * rygel_configuration_get_music_upload_folder (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_picture_upload_folder ()
gchar * rygel_configuration_get_picture_upload_folder (RygelConfiguration *self
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_configuration_get_enabled ()
gboolean rygel_configuration_get_enabled (RygelConfiguration *self
,const gchar *section
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
section |
|
|
error |
location to store the error occuring, or |
rygel_configuration_get_title ()
gchar * rygel_configuration_get_title (RygelConfiguration *self
,const gchar *section
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
section |
|
|
error |
location to store the error occuring, or |
rygel_configuration_get_string ()
gchar * rygel_configuration_get_string (RygelConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
section |
|
|
key |
|
|
error |
location to store the error occuring, or |
rygel_configuration_get_string_list ()
GeeArrayList * rygel_configuration_get_string_list (RygelConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
section |
|
|
key |
|
|
error |
location to store the error occuring, or |
rygel_configuration_get_int ()
gint rygel_configuration_get_int (RygelConfiguration *self
,const gchar *section
,const gchar *key
,gint min
,gint max
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
section |
|
|
key |
|
|
min |
|
|
max |
|
|
error |
location to store the error occuring, or |
rygel_configuration_get_int_list ()
GeeArrayList * rygel_configuration_get_int_list (RygelConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
section |
|
|
key |
|
|
error |
location to store the error occuring, or |
rygel_configuration_get_bool ()
gboolean rygel_configuration_get_bool (RygelConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
Parameters
self |
the RygelConfiguration instance |
|
section |
|
|
key |
|
|
error |
location to store the error occuring, or |
Types and Values
RygelConfiguration
typedef struct _RygelConfiguration RygelConfiguration;
Interface for dealing with Rygel configuration.
struct RygelConfigurationIface
struct RygelConfigurationIface { GTypeInterface parent_iface; gchar* (*get_interface) (RygelConfiguration* self, GError** error); gchar** (*get_interfaces) (RygelConfiguration* self, GError** error); gint (*get_port) (RygelConfiguration* self, GError** error); gboolean (*get_transcoding) (RygelConfiguration* self, GError** error); gboolean (*get_allow_upload) (RygelConfiguration* self, GError** error); gboolean (*get_allow_deletion) (RygelConfiguration* self, GError** error); gchar* (*get_log_levels) (RygelConfiguration* self, GError** error); gchar* (*get_plugin_path) (RygelConfiguration* self, GError** error); gchar* (*get_engine_path) (RygelConfiguration* self, GError** error); gchar* (*get_media_engine) (RygelConfiguration* self, GError** error); gchar* (*get_video_upload_folder) (RygelConfiguration* self, GError** error); gchar* (*get_music_upload_folder) (RygelConfiguration* self, GError** error); gchar* (*get_picture_upload_folder) (RygelConfiguration* self, GError** error); gboolean (*get_enabled) (RygelConfiguration* self, const gchar* section, GError** error); gchar* (*get_title) (RygelConfiguration* self, const gchar* section, GError** error); gchar* (*get_string) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error); GeeArrayList* (*get_string_list) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error); gint (*get_int) (RygelConfiguration* self, const gchar* section, const gchar* key, gint min, gint max, GError** error); GeeArrayList* (*get_int_list) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error); gboolean (*get_bool) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error); };
Interface for creating RygelConfiguration implementations.
Members
Signal Details
The “configuration-changed”
signal
void user_function (RygelConfiguration *configuration, RygelConfigurationEntry entry, gpointer user_data)
Emitted when any of known configuration settings has changed. RygelConfigurationEntry lists known configuration settings.
Parameters
configuration |
the RygelConfiguration instance that received the signal |
|
entry |
|
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
The “section-changed”
signal
void user_function (RygelConfiguration *configuration, gchar *section, RygelSectionEntry entry, gpointer user_data)
Emitted when any of section settings has changed. RygelSectionEntry lists known section settings.
Parameters
configuration |
the RygelConfiguration instance that received the signal |
|
section |
|
|
entry |
|
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
The “setting-changed”
signal
void user_function (RygelConfiguration *configuration, gchar *section, gchar *key, gpointer user_data)
Emitted when some custom setting has changed. That happens when changed setting does fit into neither configuration_changed nor section_changed signal.
Parameters
configuration |
the RygelConfiguration instance that received the signal |
|
section |
|
|
key |
|
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last