RygelConfiguration

RygelConfiguration — Interface for dealing with Rygel configuration.

Synopsis

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_mp3_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);
gboolean            rygel_configuration_get_mp2ts_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);
gboolean            rygel_configuration_get_lpcm_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);
gboolean            rygel_configuration_get_wmv_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);
gboolean            rygel_configuration_get_aac_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);
gboolean            rygel_configuration_get_avc_transcoder
                                                        (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_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;

Object Hierarchy

  GInterface
   +----RygelConfiguration

Prerequisites

RygelConfiguration requires GObject.

Known Implementations

RygelConfiguration is implemented by RygelCmdlineConfig, RygelMetaConfig and RygelUserConfig.

Description

Details

enum RygelConfigurationError

typedef enum {
	RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET,
	RYGEL_CONFIGURATION_ERROR_VALUE_OUT_OF_RANGE
} RygelConfigurationError;

rygel_configuration_get_upnp_enabled ()

gboolean            rygel_configuration_get_upnp_enabled
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_interface ()

gchar *             rygel_configuration_get_interface   (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_port ()

gint                rygel_configuration_get_port        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_transcoding ()

gboolean            rygel_configuration_get_transcoding (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_mp3_transcoder ()

gboolean            rygel_configuration_get_mp3_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_mp2ts_transcoder ()

gboolean            rygel_configuration_get_mp2ts_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_lpcm_transcoder ()

gboolean            rygel_configuration_get_lpcm_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_wmv_transcoder ()

gboolean            rygel_configuration_get_wmv_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_aac_transcoder ()

gboolean            rygel_configuration_get_aac_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_avc_transcoder ()

gboolean            rygel_configuration_get_avc_transcoder
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_allow_upload ()

gboolean            rygel_configuration_get_allow_upload
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_allow_deletion ()

gboolean            rygel_configuration_get_allow_deletion
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_log_levels ()

gchar *             rygel_configuration_get_log_levels  (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_plugin_path ()

gchar *             rygel_configuration_get_plugin_path (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_video_upload_folder ()

gchar *             rygel_configuration_get_video_upload_folder
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_music_upload_folder ()

gchar *             rygel_configuration_get_music_upload_folder
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_picture_upload_folder ()

gchar *             rygel_configuration_get_picture_upload_folder
                                                        (RygelConfiguration *self,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_enabled ()

gboolean            rygel_configuration_get_enabled     (RygelConfiguration *self,
                                                         const gchar *section,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_title ()

gchar *             rygel_configuration_get_title       (RygelConfiguration *self,
                                                         const gchar *section,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_string ()

gchar *             rygel_configuration_get_string      (RygelConfiguration *self,
                                                         const gchar *section,
                                                         const gchar *key,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_string_list ()

GeeArrayList *      rygel_configuration_get_string_list (RygelConfiguration *self,
                                                         const gchar *section,
                                                         const gchar *key,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_int ()

gint                rygel_configuration_get_int         (RygelConfiguration *self,
                                                         const gchar *section,
                                                         const gchar *key,
                                                         gint min,
                                                         gint max,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_int_list ()

GeeArrayList *      rygel_configuration_get_int_list    (RygelConfiguration *self,
                                                         const gchar *section,
                                                         const gchar *key,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

rygel_configuration_get_bool ()

gboolean            rygel_configuration_get_bool        (RygelConfiguration *self,
                                                         const gchar *section,
                                                         const gchar *key,
                                                         GError **error);

self :

the RygelConfiguration instance

error :

location to store the error occuring, or NULL to ignore

RygelConfiguration

typedef struct _RygelConfiguration RygelConfiguration;

Interface for dealing with Rygel configuration.