| librygel-core Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Prerequisites | Known Implementations | Signals | ||||
enum RygelConfigurationEntry; enum RygelSectionEntry; enum RygelConfigurationError; gboolean rygel_configuration_get_upnp_enabled (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_interface (RygelConfiguration *self,GError **error); gint rygel_configuration_get_port (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_transcoding (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_allow_upload (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_allow_deletion (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_log_levels (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_plugin_path (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_engine_path (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_media_engine (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_video_upload_folder (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_music_upload_folder (RygelConfiguration *self,GError **error); gchar * rygel_configuration_get_picture_upload_folder (RygelConfiguration *self,GError **error); gboolean rygel_configuration_get_enabled (RygelConfiguration *self,const gchar *section,GError **error); gchar * rygel_configuration_get_title (RygelConfiguration *self,const gchar *section,GError **error); gchar * rygel_configuration_get_string (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error); GeeArrayList * rygel_configuration_get_string_list (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error); gint rygel_configuration_get_int (RygelConfiguration *self,const gchar *section,const gchar *key,gint min,gint max,GError **error); GeeArrayList * rygel_configuration_get_int_list (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error); gboolean rygel_configuration_get_bool (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error); RygelConfiguration;
GEnum +----RygelConfigurationEntry
GEnum +----RygelSectionEntry
GInterface +----RygelConfiguration
RygelConfiguration is implemented by RygelBaseConfiguration and RygelMetaConfig.
"configuration-changed" :Run Last"section-changed" :Run Last"setting-changed" :Run Last
typedef enum {
RYGEL_CONFIGURATION_ENTRY_UPNP_ENABLED,
RYGEL_CONFIGURATION_ENTRY_INTERFACE,
RYGEL_CONFIGURATION_ENTRY_PORT,
RYGEL_CONFIGURATION_ENTRY_TRANSCODING,
RYGEL_CONFIGURATION_ENTRY_ALLOW_UPLOAD,
RYGEL_CONFIGURATION_ENTRY_ALLOW_DELETION,
RYGEL_CONFIGURATION_ENTRY_LOG_LEVELS,
RYGEL_CONFIGURATION_ENTRY_PLUGIN_PATH,
RYGEL_CONFIGURATION_ENTRY_VIDEO_UPLOAD_FOLDER,
RYGEL_CONFIGURATION_ENTRY_MUSIC_UPLOAD_FOLDER,
RYGEL_CONFIGURATION_ENTRY_PICTURE_UPLOAD_FOLDER
} RygelConfigurationEntry;
typedef enum {
RYGEL_SECTION_ENTRY_TITLE,
RYGEL_SECTION_ENTRY_ENABLED
} RygelSectionEntry;
typedef enum {
RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET,
RYGEL_CONFIGURATION_ERROR_VALUE_OUT_OF_RANGE
} RygelConfigurationError;
gboolean rygel_configuration_get_upnp_enabled (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_interface (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gint rygel_configuration_get_port (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_transcoding (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_allow_upload (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_allow_deletion (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_log_levels (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_plugin_path (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_engine_path (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_media_engine (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_video_upload_folder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_music_upload_folder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_picture_upload_folder (RygelConfiguration *self,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_enabled (RygelConfiguration *self,const gchar *section,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_title (RygelConfiguration *self,const gchar *section,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_configuration_get_string (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
GeeArrayList * rygel_configuration_get_string_list (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gint rygel_configuration_get_int (RygelConfiguration *self,const gchar *section,const gchar *key,gint min,gint max,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
GeeArrayList * rygel_configuration_get_int_list (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_configuration_get_bool (RygelConfiguration *self,const gchar *section,const gchar *key,GError **error);
|
the RygelConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
"configuration-changed" signalvoid user_function (RygelConfiguration *configuration,
RygelConfigurationEntry entry,
gpointer user_data) : Run Last
Emitted when any of known configuration settings has changed. RygelConfigurationEntry lists known configuration settings.
|
the RygelConfiguration instance that received the signal |
|
user data set when the signal handler was connected. |
"section-changed" signalvoid user_function (RygelConfiguration *configuration,
gchar *section,
RygelSectionEntry entry,
gpointer user_data) : Run Last
Emitted when any of section settings has changed. RygelSectionEntry lists known section settings.
|
the RygelConfiguration instance that received the signal |
|
user data set when the signal handler was connected. |
"setting-changed" signalvoid user_function (RygelConfiguration *configuration,
gchar *section,
gchar *key,
gpointer user_data) : Run Last
Emitted when some custom setting has changed. That happens when changed setting does fit into neither configuration_changed nor section_changed signal.
|
the RygelConfiguration instance that received the signal |
|
user data set when the signal handler was connected. |