1 #ifndef _CONFIG_OBJECT_H_ 2 #define _CONFIG_OBJECT_H_ 20 virtual GUID get_guid()
const = 0;
27 void set_data_raw(
const void * p_data,
t_size p_bytes,
bool p_sendnotify =
true);
29 t_size get_data_raw_length();
31 template<
class T>
void get_data_struct_t(
T& p_out);
32 template<
class T>
void set_data_struct_t(
const T& p_in);
33 template<
class T>
static void g_get_data_struct_t(
const GUID & p_guid,
T & p_out);
34 template<
class T>
static void g_set_data_struct_t(
const GUID & p_guid,
const T & p_in);
36 void set_data_string(
const char * p_data,
t_size p_length);
39 void get_data_bool(
bool & p_out);
40 void set_data_bool(
bool p_val);
41 void get_data_int32(
t_int32 & p_out);
42 void set_data_int32(
t_int32 p_val);
43 bool get_data_bool_simple(
bool p_default);
47 static void g_set_data_string(
const GUID & p_guid,
const char * p_data,
t_size p_length = ~0);
49 static void g_get_data_bool(
const GUID & p_guid,
bool & p_out);
50 static void g_set_data_bool(
const GUID & p_guid,
bool p_val);
51 static void g_get_data_int32(
const GUID & p_guid,
t_int32 & p_out);
52 static void g_set_data_int32(
const GUID & p_guid,
t_int32 p_val);
53 static bool g_get_data_bool_simple(
const GUID & p_guid,
bool p_default);
78 virtual t_size get_watched_object_count() = 0;
79 virtual GUID get_watched_object(
t_size p_index) = 0;
85 #endif // _CONFIG_OBJECT_H_
static const GUID int32_dynamic_bitrate_display_rate
static const GUID bool_remember_window_positions
static bool g_get_data_bool_simple(const GUID &p_guid, bool p_default)
static const GUID bool_playback_follows_cursor
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
static bool query_remember_window_positions()
static const GUID bool_ui_always_on_top
static bool query_show_keyboard_shortcuts_in_menus()
static const GUID string_gui_last_directory_playlists
static const GUID bool_show_keyboard_shortcuts_in_menus