foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
contextmenu_group_popup_impl

#include <contextmenu.h>

+ Inheritance diagram for contextmenu_group_popup_impl:

Public Member Functions

 contextmenu_group_popup_impl (const GUID &guid, const GUID &parent, const char *name, double sortPriority=0)
 
void get_display_string (pfc::string_base &out)
 
GUID get_guid ()
 
GUID get_parent ()
 
double get_sort_priority ()
 
- 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 ()
 

Private Attributes

const GUID m_guid
 
const char *const m_name
 
const GUID m_parent
 
const double m_sortPriority
 

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 296 of file contextmenu.h.

Constructor & Destructor Documentation

contextmenu_group_popup_impl::contextmenu_group_popup_impl ( const GUID guid,
const GUID parent,
const char *  name,
double  sortPriority = 0 
)
inline

Definition at line 298 of file contextmenu.h.

298 : m_guid(guid), m_parent(parent), m_sortPriority(sortPriority), m_name(name) {}
const char *const m_name
Definition: contextmenu.h:306

Member Function Documentation

void contextmenu_group_popup_impl::get_display_string ( pfc::string_base out)
inline

Definition at line 302 of file contextmenu.h.

302 {out = m_name;}
const char *const m_name
Definition: contextmenu.h:306
GUID contextmenu_group_popup_impl::get_guid ( )
inlinevirtual

Implements contextmenu_group.

Definition at line 299 of file contextmenu.h.

299 {return m_guid;}
GUID contextmenu_group_popup_impl::get_parent ( )
inlinevirtual

Implements contextmenu_group.

Definition at line 300 of file contextmenu.h.

300 {return m_parent;}
double contextmenu_group_popup_impl::get_sort_priority ( )
inlinevirtual

Implements contextmenu_group.

Definition at line 301 of file contextmenu.h.

301 {return m_sortPriority;}

Field Documentation

const GUID contextmenu_group_popup_impl::m_guid
private

Definition at line 304 of file contextmenu.h.

const char* const contextmenu_group_popup_impl::m_name
private

Definition at line 306 of file contextmenu.h.

const GUID contextmenu_group_popup_impl::m_parent
private

Definition at line 304 of file contextmenu.h.

const double contextmenu_group_popup_impl::m_sortPriority
private

Definition at line 305 of file contextmenu.h.


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