foobar2000 SDK  2015-08-03
Public Member Functions
mainmenu_node_separator

#include <menu.h>

+ Inheritance diagram for mainmenu_node_separator:

Public Member Functions

void execute (service_ptr_t< service_base >)
 
ptr get_child (t_size index)
 
t_size get_children_count ()
 
void get_display (pfc::string_base &text, t_uint32 &flags)
 
GUID get_guid ()
 
t_uint32 get_type ()
 
- 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 169 of file menu.h.

Member Function Documentation

void mainmenu_node_separator::execute ( service_ptr_t< service_base callback)
inlinevirtual

Valid only if type is type_command.

Implements mainmenu_node.

Definition at line 175 of file menu.h.

175 {}
ptr mainmenu_node_separator::get_child ( t_size  index)
inlinevirtual

Valid only if type is type_group.

Implements mainmenu_node.

Definition at line 174 of file menu.h.

174 {throw pfc::exception_invalid_params();}
t_size mainmenu_node_separator::get_children_count ( )
inlinevirtual

Valid only if type is type_group.

Implements mainmenu_node.

Definition at line 173 of file menu.h.

173 {return 0;}
void mainmenu_node_separator::get_display ( pfc::string_base text,
t_uint32 flags 
)
inlinevirtual

Implements mainmenu_node.

Definition at line 172 of file menu.h.

172 {text = ""; flags = 0;}
GUID mainmenu_node_separator::get_guid ( )
inlinevirtual

Valid only if type is type_command.

Implements mainmenu_node.

Definition at line 176 of file menu.h.

176 {return pfc::guid_null;}
const GUID guid_null
Definition: guid.cpp:175
t_uint32 mainmenu_node_separator::get_type ( )
inlinevirtual

Implements mainmenu_node.

Definition at line 171 of file menu.h.

171 {return type_separator;}

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