foobar2000 SDK
2015-08-03
|
#include <ui_element.h>
Public Member Functions | |
service_ptr_t< ui_element_config > | clone () const |
FB2K_MAKE_SERVICE_INTERFACE (ui_element_config, service_base) | |
virtual const void * | get_data () const =0 |
virtual t_size | get_data_size () const =0 |
virtual GUID | get_guid () const =0 |
Public Member Functions inherited from service_base | |
template<typename outPtr_t > | |
bool | cast (outPtr_t &outPtr) |
virtual int | service_add_ref ()=0 throw () |
virtual bool | service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid) |
template<class T > | |
bool | service_query_t (service_ptr_t< T > &p_out) |
virtual int | service_release ()=0 throw () |
Static Public Member Functions | |
static service_ptr_t< ui_element_config > | g_create (const GUID &id, const void *data, t_size size) |
template<typename t_source > | |
static service_ptr_t< ui_element_config > | g_create (const GUID &id, t_source const &data) |
static service_ptr_t< ui_element_config > | g_create (const GUID &id, stream_reader *in, t_size bytes, abort_callback &abort) |
static service_ptr_t< ui_element_config > | g_create (stream_reader *in, t_size bytes, abort_callback &abort) |
static service_ptr_t< ui_element_config > | g_create (const void *data, t_size size) |
static service_ptr_t< ui_element_config > | g_create_empty (const GUID &id=pfc::guid_null) |
Additional Inherited Members | |
Public Types inherited from service_base | |
typedef service_base | t_interface |
Protected Member Functions inherited from service_base | |
service_base () | |
~service_base () | |
Configuration of a UI element.
Definition at line 2 of file ui_element.h.
|
inline |
Definition at line 25 of file ui_element.h.
ui_element_config::FB2K_MAKE_SERVICE_INTERFACE | ( | ui_element_config | , |
service_base | |||
) |
|
static |
Helper.
Definition at line 25 of file ui_element.cpp.
|
inlinestatic |
Definition at line 15 of file ui_element.h.
|
static |
Definition at line 29 of file ui_element.cpp.
|
static |
Definition at line 36 of file ui_element.cpp.
|
static |
Definition at line 49 of file ui_element.cpp.
|
inlinestatic |
Definition at line 20 of file ui_element.h.
|
pure virtual |
Returns raw configuration data pointer.
|
pure virtual |
Returns raw configuration data size, in bytes.
|
pure virtual |
Returns GUID of the UI element this configuration data belongs to.