foobar2000 SDK
2015-08-03
|
#include <contextmenu.h>
Public Types | |
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 } |
Public Member Functions | |
virtual void | execute (metadb_handle_list_cref p_data, const GUID &p_caller)=0 |
virtual contextmenu_item_node * | get_child (t_size p_index)=0 |
virtual t_size | get_children_count ()=0 |
virtual bool | get_description (pfc::string_base &p_out)=0 |
virtual bool | get_display_data (pfc::string_base &p_out, unsigned &p_displayflags, metadb_handle_list_cref p_data, const GUID &p_caller)=0 |
virtual t_glyph | get_glyph (metadb_handle_list_cref p_data, const GUID &p_caller) |
virtual GUID | get_guid ()=0 |
virtual t_type | get_type ()=0 |
virtual bool | is_mappable_shortcut ()=0 |
Protected Member Functions | |
contextmenu_item_node () | |
~contextmenu_item_node () | |
Definition at line 5 of file contextmenu.h.
Enumerator | |
---|---|
FLAG_CHECKED | |
FLAG_DISABLED | |
FLAG_GRAYED | |
FLAG_DISABLED_GRAYED | |
FLAG_RADIOCHECKED |
Definition at line 7 of file contextmenu.h.
Enumerator | |
---|---|
type_group | |
type_command | |
type_separator | |
TYPE_POPUP | |
TYPE_COMMAND | |
TYPE_SEPARATOR |
Definition at line 15 of file contextmenu.h.
|
inlineprotected |
Definition at line 35 of file contextmenu.h.
|
inlineprotected |
Definition at line 36 of file contextmenu.h.
|
pure virtual |
|
pure virtual |
Implemented in contextmenu_item_node_separator, contextmenu_item_node_root_leaf, and contextmenu_item_node_leaf.
|
pure virtual |
Implemented in contextmenu_item_node_separator, contextmenu_item_node_root_leaf, and contextmenu_item_node_leaf.
|
pure virtual |
|
pure virtual |
Implemented in contextmenu_item_simple::contextmenu_item_node_impl, and contextmenu_item_node_separator.
|
inlinevirtual |
Definition at line 27 of file contextmenu.h.
|
pure virtual |
Implemented in contextmenu_item_simple::contextmenu_item_node_impl, and contextmenu_item_node_separator.
|
pure virtual |
|
pure virtual |
Implemented in contextmenu_item_simple::contextmenu_item_node_impl, and contextmenu_item_node_separator.