RygelBaseConfiguration

RygelBaseConfiguration — Base class that can be used for configuration implementations.

Synopsis

#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;

Object Hierarchy

  GObject
   +----RygelBaseConfiguration

Implemented Interfaces

RygelBaseConfiguration implements RygelConfiguration.

Description

Mainly useful to only implement a small subset of the configuration.

Details

RYGEL_TYPE_BASE_CONFIGURATION

#define RYGEL_TYPE_BASE_CONFIGURATION (rygel_base_configuration_get_type ())

The type for RygelBaseConfiguration.


rygel_base_configuration_get_upnp_enabled ()

gboolean            rygel_base_configuration_get_upnp_enabled
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_interface ()

gchar *             rygel_base_configuration_get_interface
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_port ()

gint                rygel_base_configuration_get_port   (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_transcoding ()

gboolean            rygel_base_configuration_get_transcoding
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_allow_upload ()

gboolean            rygel_base_configuration_get_allow_upload
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_allow_deletion ()

gboolean            rygel_base_configuration_get_allow_deletion
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_log_levels ()

gchar *             rygel_base_configuration_get_log_levels
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_plugin_path ()

gchar *             rygel_base_configuration_get_plugin_path
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_engine_path ()

gchar *             rygel_base_configuration_get_engine_path
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_media_engine ()

gchar *             rygel_base_configuration_get_media_engine
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_video_upload_folder ()

gchar *             rygel_base_configuration_get_video_upload_folder
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_music_upload_folder ()

gchar *             rygel_base_configuration_get_music_upload_folder
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_picture_upload_folder ()

gchar *             rygel_base_configuration_get_picture_upload_folder
                                                        (RygelBaseConfiguration *self,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_enabled ()

gboolean            rygel_base_configuration_get_enabled
                                                        (RygelBaseConfiguration *self,
                                                         const gchar *section,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_title ()

gchar *             rygel_base_configuration_get_title  (RygelBaseConfiguration *self,
                                                         const gchar *section,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_string ()

gchar *             rygel_base_configuration_get_string (RygelBaseConfiguration *self,
                                                         const gchar *section,
                                                         const gchar *key,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_string_list ()

GeeArrayList *      rygel_base_configuration_get_string_list
                                                        (RygelBaseConfiguration *self,
                                                         const gchar *section,
                                                         const gchar *key,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

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);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_int_list ()

GeeArrayList *      rygel_base_configuration_get_int_list
                                                        (RygelBaseConfiguration *self,
                                                         const gchar *section,
                                                         const gchar *key,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_get_bool ()

gboolean            rygel_base_configuration_get_bool   (RygelBaseConfiguration *self,
                                                         const gchar *section,
                                                         const gchar *key,
                                                         GError **error);

self :

the RygelBaseConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_base_configuration_new ()

RygelBaseConfiguration * rygel_base_configuration_new   (void);

struct RygelBaseConfiguration

struct RygelBaseConfiguration;

Base class that can be used for configuration implementations.

Mainly useful to only implement a small subset of the configuration.