foobar2000 SDK
2015-08-03
|
#include <icon_remap.h>
Public Member Functions | |
FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (icon_remapping) | |
virtual bool | query (const char *p_extension, pfc::string_base &p_iconname)=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 () |
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 () | |
New in 0.9.5; allows your file format to use another icon than <extension>.ico when registering the file type with Windows shell.
Implementation: use icon_remapping_impl, or simply: static service_factory_single_t<icon_remapping_impl> myicon("ext","iconname.ico");.
Definition at line 3 of file icon_remap.h.
icon_remapping::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT | ( | icon_remapping | ) |
|
pure virtual |
p_extension | File type extension being queried. |
p_iconname | Receives the icon name to use, including the .ico extension. |
Implemented in icon_remapping_impl, and icon_remapping_wildcard_impl.