foobar2000 SDK  2015-08-03
Public Member Functions
contextmenu_item_node_separator

#include <contextmenu.h>

+ Inheritance diagram for contextmenu_item_node_separator:

Public Member Functions

void execute (metadb_handle_list_cref data, const GUID &caller)
 
contextmenu_item_nodeget_child (t_size)
 
t_size get_children_count ()
 
bool get_description (pfc::string_base &p_out)
 
bool get_display_data (pfc::string_base &p_out, unsigned &p_displayflags, metadb_handle_list_cref p_data, const GUID &p_caller)
 
GUID get_guid ()
 
t_type get_type ()
 
bool is_mappable_shortcut ()
 
- Public Member Functions inherited from contextmenu_item_node
virtual t_glyph get_glyph (metadb_handle_list_cref p_data, const GUID &p_caller)
 

Additional Inherited Members

- Public Types inherited from contextmenu_item_node
enum  t_flags {
  FLAG_CHECKED = 1, FLAG_DISABLED = 2, FLAG_GRAYED = 4, FLAG_DISABLED_GRAYED = FLAG_DISABLED|FLAG_GRAYED,
  FLAG_RADIOCHECKED = 8
}
 
enum  t_type {
  type_group, type_command, type_separator, TYPE_POPUP = type_group,
  TYPE_COMMAND = type_command, TYPE_SEPARATOR = type_separator
}
 
- Protected Member Functions inherited from contextmenu_item_node
 contextmenu_item_node ()
 
 ~contextmenu_item_node ()
 

Detailed Description

Definition at line 77 of file contextmenu.h.

Member Function Documentation

void contextmenu_item_node_separator::execute ( metadb_handle_list_cref  data,
const GUID caller 
)
inlinevirtual

Implements contextmenu_item_node.

Definition at line 81 of file contextmenu.h.

81 {}
contextmenu_item_node* contextmenu_item_node_separator::get_child ( t_size  )
inlinevirtual

Implements contextmenu_item_node.

Definition at line 90 of file contextmenu.h.

90 {return NULL;}
t_size contextmenu_item_node_separator::get_children_count ( )
inlinevirtual

Implements contextmenu_item_node.

Definition at line 83 of file contextmenu.h.

83 {return 0;}
bool contextmenu_item_node_separator::get_description ( pfc::string_base p_out)
inlinevirtual

Implements contextmenu_item_node.

Definition at line 82 of file contextmenu.h.

82 {return false;}
bool contextmenu_item_node_separator::get_display_data ( pfc::string_base p_out,
unsigned &  p_displayflags,
metadb_handle_list_cref  p_data,
const GUID p_caller 
)
inlinevirtual

Implements contextmenu_item_node.

Definition at line 84 of file contextmenu.h.

85  {
86  p_displayflags = 0;
87  p_out = "---";
88  return true;
89  }
GUID contextmenu_item_node_separator::get_guid ( )
inlinevirtual

Implements contextmenu_item_node.

Definition at line 91 of file contextmenu.h.

91 {return pfc::guid_null;}
const GUID guid_null
Definition: guid.cpp:175
t_type contextmenu_item_node_separator::get_type ( )
inlinevirtual

Implements contextmenu_item_node.

Definition at line 80 of file contextmenu.h.

bool contextmenu_item_node_separator::is_mappable_shortcut ( )
inlinevirtual

Implements contextmenu_item_node.

Definition at line 92 of file contextmenu.h.

92 {return false;}

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