RygelConfiguration

RygelConfiguration — Interface for dealing with Rygel configuration.

Types and Values

Description

Functions

Types and Values

enum RygelConfigurationEntry

Members

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

   

enum RygelSectionEntry

Members

RYGEL_SECTION_ENTRY_TITLE

   

RYGEL_SECTION_ENTRY_ENABLED

   

enum RygelConfigurationError

Members

RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET

   

RYGEL_CONFIGURATION_ERROR_VALUE_OUT_OF_RANGE

   

RygelConfiguration

typedef struct _RygelConfiguration RygelConfiguration;

Interface for dealing with Rygel configuration.


struct RygelConfigurationIface

struct RygelConfigurationIface {
	GTypeInterface parent_iface;
	gchar* (*get_interface) (RygelConfiguration* self, GError** error) ;
	gchar** (*get_interfaces) (RygelConfiguration* self, GError** error);
	gint (*get_port) (RygelConfiguration* self, GError** error);
	gboolean (*get_transcoding) (RygelConfiguration* self, GError** error);
	gboolean (*get_allow_upload) (RygelConfiguration* self, GError** error);
	gboolean (*get_allow_deletion) (RygelConfiguration* self, GError** error);
	gchar* (*get_log_levels) (RygelConfiguration* self, GError** error);
	gchar* (*get_plugin_path) (RygelConfiguration* self, GError** error);
	gchar* (*get_engine_path) (RygelConfiguration* self, GError** error);
	gchar* (*get_media_engine) (RygelConfiguration* self, GError** error);
	gchar* (*get_video_upload_folder) (RygelConfiguration* self, GError** error);
	gchar* (*get_music_upload_folder) (RygelConfiguration* self, GError** error);
	gchar* (*get_picture_upload_folder) (RygelConfiguration* self, GError** error);
	gboolean (*get_enabled) (RygelConfiguration* self, const gchar* section, GError** error);
	gchar* (*get_title) (RygelConfiguration* self, const gchar* section, GError** error);
	gchar* (*get_string) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
	GeeArrayList* (*get_string_list) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
	gint (*get_int) (RygelConfiguration* self, const gchar* section, const gchar* key, gint min, gint max, GError** error);
	GeeArrayList* (*get_int_list) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
	gboolean (*get_bool) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
};

Interface for creating RygelConfiguration implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

get_interface ()

virtual method called by rygel_configuration_get_interface()

 

get_interfaces ()

virtual method called by rygel_configuration_get_interfaces()

 

get_port ()

virtual method called by rygel_configuration_get_port()

 

get_transcoding ()

virtual method called by rygel_configuration_get_transcoding()

 

get_allow_upload ()

virtual method called by rygel_configuration_get_allow_upload()

 

get_allow_deletion ()

virtual method called by rygel_configuration_get_allow_deletion()

 

get_log_levels ()

virtual method called by rygel_configuration_get_log_levels()

 

get_plugin_path ()

virtual method called by rygel_configuration_get_plugin_path()

 

get_engine_path ()

virtual method called by rygel_configuration_get_engine_path()

 

get_media_engine ()

virtual method called by rygel_configuration_get_media_engine()

 

get_video_upload_folder ()

virtual method called by rygel_configuration_get_video_upload_folder()

 

get_music_upload_folder ()

virtual method called by rygel_configuration_get_music_upload_folder()

 

get_picture_upload_folder ()

virtual method called by rygel_configuration_get_picture_upload_folder()

 

get_enabled ()

virtual method called by rygel_configuration_get_enabled()

 

get_title ()

virtual method called by rygel_configuration_get_title()

 

get_string ()

virtual method called by rygel_configuration_get_string()

 

get_string_list ()

virtual method called by rygel_configuration_get_string_list()

 

get_int ()

virtual method called by rygel_configuration_get_int()

 

get_int_list ()

virtual method called by rygel_configuration_get_int_list()

 

get_bool ()

virtual method called by rygel_configuration_get_bool()