add last backwards-compatible version

This commit is contained in:
2021-12-14 00:33:46 -07:00
parent 68b10d413b
commit b0dd3f07f3
335 changed files with 4746 additions and 19627 deletions

View File

@@ -1,5 +1,3 @@
#pragma once
//! Reserved for future use.
typedef void * t_glyph;
@@ -123,7 +121,6 @@ public:
//! Return DEFAULT_ON to show this item in the context menu by default - useful for most cases. \n
//! Return DEFAULT_OFF to hide this item in the context menu by default - useful for rarely used utility commands. \n
//! Return FORCE_OFF to hide this item by default and prevent the user from making it visible (very rarely used). \n
//! foobar2000 v1.6 and newer: FORCE_OFF items are meant for being shown only in the keyboard shortcut list, not anywhere else. \n
//! Values returned by this method should be constant for this context menu item and not change later. Do not use this to conditionally hide the item - return false from get_display_data() instead.
virtual t_enabled_state get_enabled_state(unsigned p_index) = 0;
//! Executes the menu item command without going thru the instantiate_item path. For items with dynamically-generated sub-items, p_node is identifies of the sub-item command to execute.