foobar2000 SDK  2015-01-14
Public Member Functions
ui_selection_managerabstract

#include <ui.h>

+ Inheritance diagram for ui_selection_manager:

Public Member Functions

virtual ui_selection_holder::ptr acquire ()=0
 
 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (ui_selection_manager)
 
virtual void get_selection (metadb_handle_list_ref p_selection)=0
 
virtual GUID get_selection_type ()=0
 
virtual void register_callback (ui_selection_callback *p_callback)=0
 
virtual void unregister_callback (ui_selection_callback *p_callback)=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

Definition at line 144 of file ui.h.

Member Function Documentation

virtual ui_selection_holder::ptr ui_selection_manager::acquire ( )
pure virtual
ui_selection_manager::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT ( ui_selection_manager  )
virtual void ui_selection_manager::get_selection ( metadb_handle_list_ref  p_selection)
pure virtual

Retrieves the current selection.

virtual GUID ui_selection_manager::get_selection_type ( )
pure virtual

Retrieves type of the active selection holder. Values same as contextmenu_item caller IDs.

virtual void ui_selection_manager::register_callback ( ui_selection_callback p_callback)
pure virtual

Registers a callback. It is recommended to use ui_selection_callback_impl_base class instead of calling this directly.

virtual void ui_selection_manager::unregister_callback ( ui_selection_callback p_callback)
pure virtual

Unregisters a callback. It is recommended to use ui_selection_callback_impl_base class instead of calling this directly.


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