![]() |
![]() |
![]() |
librygel-core Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
RygelBaseConfigurationRygelBaseConfiguration — Base class that can be used for configuration implementations. |
#define RYGEL_TYPE_BASE_CONFIGURATION gboolean rygel_base_configuration_get_upnp_enabled (RygelBaseConfiguration *self
,GError **error
); gchar * rygel_base_configuration_get_interface (RygelBaseConfiguration *self
,GError **error
); gint rygel_base_configuration_get_port (RygelBaseConfiguration *self
,GError **error
); gboolean rygel_base_configuration_get_transcoding (RygelBaseConfiguration *self
,GError **error
); gboolean rygel_base_configuration_get_allow_upload (RygelBaseConfiguration *self
,GError **error
); gboolean rygel_base_configuration_get_allow_deletion (RygelBaseConfiguration *self
,GError **error
); gchar * rygel_base_configuration_get_log_levels (RygelBaseConfiguration *self
,GError **error
); gchar * rygel_base_configuration_get_plugin_path (RygelBaseConfiguration *self
,GError **error
); gchar * rygel_base_configuration_get_engine_path (RygelBaseConfiguration *self
,GError **error
); gchar * rygel_base_configuration_get_media_engine (RygelBaseConfiguration *self
,GError **error
); gchar * rygel_base_configuration_get_video_upload_folder (RygelBaseConfiguration *self
,GError **error
); gchar * rygel_base_configuration_get_music_upload_folder (RygelBaseConfiguration *self
,GError **error
); gchar * rygel_base_configuration_get_picture_upload_folder (RygelBaseConfiguration *self
,GError **error
); gboolean rygel_base_configuration_get_enabled (RygelBaseConfiguration *self
,const gchar *section
,GError **error
); gchar * rygel_base_configuration_get_title (RygelBaseConfiguration *self
,const gchar *section
,GError **error
); gchar * rygel_base_configuration_get_string (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
); GeeArrayList * rygel_base_configuration_get_string_list (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
); gint rygel_base_configuration_get_int (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,gint min
,gint max
,GError **error
); GeeArrayList * rygel_base_configuration_get_int_list (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
); gboolean rygel_base_configuration_get_bool (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
); RygelBaseConfiguration * rygel_base_configuration_new (void
); struct RygelBaseConfiguration; struct RygelBaseConfigurationClass;
#define RYGEL_TYPE_BASE_CONFIGURATION (rygel_base_configuration_get_type ())
The type for RygelBaseConfiguration.
gboolean rygel_base_configuration_get_upnp_enabled (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_base_configuration_get_interface (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gint rygel_base_configuration_get_port (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_base_configuration_get_transcoding (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_base_configuration_get_allow_upload (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_base_configuration_get_allow_deletion (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_base_configuration_get_log_levels (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_base_configuration_get_plugin_path (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_base_configuration_get_engine_path (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_base_configuration_get_media_engine (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_base_configuration_get_video_upload_folder (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_base_configuration_get_music_upload_folder (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_base_configuration_get_picture_upload_folder (RygelBaseConfiguration *self
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_base_configuration_get_enabled (RygelBaseConfiguration *self
,const gchar *section
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_base_configuration_get_title (RygelBaseConfiguration *self
,const gchar *section
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gchar * rygel_base_configuration_get_string (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
GeeArrayList * rygel_base_configuration_get_string_list (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gint rygel_base_configuration_get_int (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,gint min
,gint max
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
GeeArrayList * rygel_base_configuration_get_int_list (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
gboolean rygel_base_configuration_get_bool (RygelBaseConfiguration *self
,const gchar *section
,const gchar *key
,GError **error
);
|
the RygelBaseConfiguration instance |
|
location to store the error occuring, or NULL to ignore |
struct RygelBaseConfiguration;
Base class that can be used for configuration implementations.
Mainly useful to only implement a small subset of the configuration.
struct RygelBaseConfigurationClass { GObjectClass parent_class; gboolean (*get_upnp_enabled) (RygelBaseConfiguration* self, GError** error); gchar* (*get_interface) (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.