foobar2000 SDK  2015-08-03
Private Member Functions
contextmenu_item_v2

#include <contextmenu.h>

+ Inheritance diagram for contextmenu_item_v2:

Private Member Functions

 FB2K_MAKE_SERVICE_INTERFACE (contextmenu_item_v2, contextmenu_item) public
 
virtual GUID get_parent ()
 

Additional Inherited Members

- Public Types inherited from contextmenu_item
enum  t_enabled_state { FORCE_OFF, DEFAULT_OFF, DEFAULT_ON }
 
- Public Types inherited from service_base
typedef service_base t_interface
 
- Public Member Functions inherited from contextmenu_item
 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (contextmenu_item)
 
virtual t_enabled_state get_enabled_state (unsigned p_index)=0
 
virtual void get_item_default_path (unsigned p_index, pfc::string_base &p_out)
 
virtual bool get_item_description (unsigned p_index, pfc::string_base &p_out)=0
 
virtual GUID get_item_guid (unsigned p_index)=0
 
virtual void get_item_name (unsigned p_index, pfc::string_base &p_out)=0
 
virtual unsigned get_num_items ()=0
 
GUID get_parent_ ()
 
GUID get_parent_fallback ()
 
virtual contextmenu_item_node_rootinstantiate_item (unsigned p_index, metadb_handle_list_cref p_data, const GUID &p_caller)=0
 
virtual void item_execute_simple (unsigned p_index, const GUID &p_node, metadb_handle_list_cref p_data, const GUID &p_caller)=0
 
bool item_get_display_data (pfc::string_base &p_out, unsigned &displayflags, unsigned p_index, const GUID &p_node, metadb_handle_list_cref p_data, const GUID &p_caller)
 
bool item_get_display_data_root (pfc::string_base &p_out, unsigned &displayflags, unsigned p_index, metadb_handle_list_cref p_data, const GUID &p_caller)
 
- 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 ()
 
- Static Public Attributes inherited from contextmenu_item
static const GUID caller_active_playlist
 
static const GUID caller_active_playlist_selection
 
static const GUID caller_keyboard_shortcut_list
 
static const GUID caller_media_library_viewer
 
static const GUID caller_now_playing
 
static const GUID caller_playlist = caller_active_playlist_selection
 
static const GUID caller_playlist_manager
 
static const GUID caller_undefined
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Since
1.0

Definition at line 145 of file contextmenu.h.

Member Function Documentation

contextmenu_item_v2::FB2K_MAKE_SERVICE_INTERFACE ( contextmenu_item_v2  ,
contextmenu_item   
)
inlineprivate

Definition at line 146 of file contextmenu.h.

147  :
148  virtual double get_sort_priority() {return 0;}
virtual GUID contextmenu_item_v2::get_parent ( )
inlineprivatevirtual

Reimplemented in myitem.

Definition at line 149 of file contextmenu.h.

149 {return get_parent_fallback();}
GUID get_parent_fallback()
Definition: menu_item.cpp:43

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