library_viewer Class Reference

#include <library_manager.h>

Inheritance diagram for library_viewer:

service_base

List of all members.

Public Types

typedef library_viewer t_interface_entrypoint
typedef library_viewer t_interface
typedef service_base t_interface_parent

Public Member Functions

virtual GUID get_preferences_page ()=0
 Retrieves GUID of your preferences page (pfc::guid_null if you don't have one).
virtual bool have_activate ()=0
 Queries whether "activate" action is supported (relevant button will be disabled if it's not).
virtual void activate ()=0
 Activates your Media Library viewer component (e.g. shows its window).
virtual GUID get_guid ()=0
 Retrieves GUID of your library_viewer implementation, for internal identification. Note that this not the same as preferences page GUID.
virtual const char * get_name ()=0
 Retrieves name of your Media Library viewer, a null-terminated UTF-8 encoded string.

Static Public Attributes

static const GUID class_guid


Detailed Description

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

Member Typedef Documentation

Reimplemented from service_base.


Member Function Documentation

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).

virtual void library_viewer::activate (  )  [pure virtual]

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

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.


Member Data Documentation

const GUID library_viewer::class_guid [static]

Initial value:

{ 0xb8c5ceea, 0xa5f4, 0x4278, { 0xaa, 0x2d, 0x79, 0x8e, 0x44, 0x3, 0x0, 0x1f } }


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

Generated on Thu Aug 28 21:15:52 2008 for foobar2000 SDK by  doxygen 1.5.5