foobar2000 SDK
2015-08-03
|
#include <titleformat.h>
Public Member Functions | |
FB2K_MAKE_SERVICE_INTERFACE (titleformat_object, service_base) | |
virtual void | run (titleformat_hook *p_source, pfc::string_base &p_out, titleformat_text_filter *p_filter)=0 |
void | run_hook (const playable_location &p_location, const file_info *p_source, titleformat_hook *p_hook, pfc::string_base &p_out, titleformat_text_filter *p_filter) |
void | run_simple (const playable_location &p_location, const file_info *p_source, pfc::string_base &p_out) |
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 () |
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 () | |
Represents precompiled executable title-formatting script. Use titleformat_compiler to instantiate; do not reimplement.
Definition at line 41 of file titleformat.h.
titleformat_object::FB2K_MAKE_SERVICE_INTERFACE | ( | titleformat_object | , |
service_base | |||
) |
|
pure virtual |
void titleformat_object::run_hook | ( | const playable_location & | p_location, |
const file_info * | p_source, | ||
titleformat_hook * | p_hook, | ||
pfc::string_base & | p_out, | ||
titleformat_text_filter * | p_filter | ||
) |
Definition at line 74 of file titleformat.cpp.
void titleformat_object::run_simple | ( | const playable_location & | p_location, |
const file_info * | p_source, | ||
pfc::string_base & | p_out | ||
) |
Definition at line 93 of file titleformat.cpp.