Top |
RygelBaseConfigurationRygelBaseConfiguration — Base class that can be used for configuration implementations. |
Functions
Types and Values
#define | RYGEL_TYPE_BASE_CONFIGURATION |
struct | RygelBaseConfiguration |
struct | RygelBaseConfigurationClass |
Functions
rygel_base_configuration_get_interface ()
gchar * rygel_base_configuration_get_interface (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_interfaces ()
gchar ** rygel_base_configuration_get_interfaces (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_port ()
gint rygel_base_configuration_get_port (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_transcoding ()
gboolean rygel_base_configuration_get_transcoding (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_allow_upload ()
gboolean rygel_base_configuration_get_allow_upload (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_allow_deletion ()
gboolean rygel_base_configuration_get_allow_deletion (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_log_levels ()
gchar * rygel_base_configuration_get_log_levels (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_plugin_path ()
gchar * rygel_base_configuration_get_plugin_path (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_engine_path ()
gchar * rygel_base_configuration_get_engine_path (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_media_engine ()
gchar * rygel_base_configuration_get_media_engine (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_video_upload_folder ()
gchar * rygel_base_configuration_get_video_upload_folder (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_music_upload_folder ()
gchar * rygel_base_configuration_get_music_upload_folder (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_picture_upload_folder ()
gchar * rygel_base_configuration_get_picture_upload_folder (RygelBaseConfiguration *self
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_enabled ()
gboolean rygel_base_configuration_get_enabled (RygelBaseConfiguration *self
,const gchar *section
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
section |
|
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_title ()
gchar * rygel_base_configuration_get_title (RygelBaseConfiguration *self
,const gchar *section
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
section |
|
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_string ()
gchar * rygel_base_configuration_get_string (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
section |
|
|
key |
|
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_string_list ()
GeeArrayList * rygel_base_configuration_get_string_list (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
section |
|
|
key |
|
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_int ()
gint rygel_base_configuration_get_int (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,gint min
,gint max
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
section |
|
|
key |
|
|
min |
|
|
max |
|
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_int_list ()
GeeArrayList * rygel_base_configuration_get_int_list (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
section |
|
|
key |
|
|
error |
location to store the error occuring, or |
rygel_base_configuration_get_bool ()
gboolean rygel_base_configuration_get_bool (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
Parameters
self |
the RygelBaseConfiguration instance |
|
section |
|
|
key |
|
|
error |
location to store the error occuring, or |
Types and Values
RYGEL_TYPE_BASE_CONFIGURATION
#define RYGEL_TYPE_BASE_CONFIGURATION (rygel_base_configuration_get_type ())
The type for RygelBaseConfiguration.
struct RygelBaseConfiguration
struct RygelBaseConfiguration;
Base class that can be used for configuration implementations.
Mainly useful to only implement a small subset of the configuration.
struct RygelBaseConfigurationClass
struct RygelBaseConfigurationClass { GObjectClass parent_class; gchar* (*get_interface) (RygelBaseConfiguration* self, GError** error); gchar** (*get_interfaces) (RygelBaseConfiguration* self, GError** error); gint (*get_port) (RygelBaseConfiguration* self, GError** error); gboolean (*get_transcoding) (RygelBaseConfiguration* self, GError** error); gboolean (*get_allow_upload) (RygelBaseConfiguration* self, GError** error); gboolean (*get_allow_deletion) (RygelBaseConfiguration* self, GError** error); gchar* (*get_log_levels) (RygelBaseConfiguration* self, GError** error); gchar* (*get_plugin_path) (RygelBaseConfiguration* self, GError** error); gchar* (*get_engine_path) (RygelBaseConfiguration* self, GError** error); gchar* (*get_media_engine) (RygelBaseConfiguration* self, GError** error); gchar* (*get_video_upload_folder) (RygelBaseConfiguration* self, GError** error); gchar* (*get_music_upload_folder) (RygelBaseConfiguration* self, GError** error); gchar* (*get_picture_upload_folder) (RygelBaseConfiguration* self, GError** error); gboolean (*get_enabled) (RygelBaseConfiguration* self, const gchar* section, GError** error); gchar* (*get_title) (RygelBaseConfiguration* self, const gchar* section, GError** error); gchar* (*get_string) (RygelBaseConfiguration* self, const gchar* section, const gchar* key, GError** error); GeeArrayList* (*get_string_list) (RygelBaseConfiguration* self, const gchar* section, const gchar* key, GError** error); gint (*get_int) (RygelBaseConfiguration* self, const gchar* section, const gchar* key, gint min, gint max, GError** error); GeeArrayList* (*get_int_list) (RygelBaseConfiguration* self, const gchar* section, const gchar* key, GError** error); gboolean (*get_bool) (RygelBaseConfiguration* self, const gchar* section, const gchar* key, GError** error); };
The class structure for RYGEL_TYPE_BASE_CONFIGURATION
. All the fields in this structure are private and should never be accessed directly.