foobar2000 SDK  2015-08-03
Public Member Functions
library_viewerabstract

#include <library_manager.h>

+ Inheritance diagram for library_viewer:

Public Member Functions

virtual void activate ()=0
 
 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (library_viewer)
 
virtual GUID get_guid ()=0
 
virtual const char * get_name ()=0
 
virtual GUID get_preferences_page ()=0
 
virtual bool have_activate ()=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 ()
 

Detailed Description

Implement this service to appear on "library viewers" list in Media Library preferences page.
Use library_viewer_factory_t to register.

Definition at line 133 of file library_manager.h.

Member Function Documentation

virtual void library_viewer::activate ( )
pure virtual

Activates your Media Library viewer component (e.g. shows its window).

library_viewer::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT ( library_viewer  )
virtual GUID library_viewer::get_guid ( )
pure virtual

Retrieves GUID of your library_viewer implementation, for internal identification. Note that this not the same as preferences page GUID.

virtual const char* library_viewer::get_name ( )
pure virtual

Retrieves name of your Media Library viewer, a null-terminated UTF-8 encoded string.

virtual GUID library_viewer::get_preferences_page ( )
pure virtual

Retrieves GUID of your preferences page (pfc::guid_null if you don't have one).

virtual bool library_viewer::have_activate ( )
pure virtual

Queries whether "activate" action is supported (relevant button will be disabled if it's not).


The documentation for this class was generated from the following file: