24 #ifndef HOTKEY_STORE__H 25 #define HOTKEY_STORE__H 73 void Init( std::vector<TOOL_MANAGER*> aToolManagerList,
bool aIncludeReadOnlyCmds );
114 #endif // HOTKEY_STORE__H A class that contains a set of hotkeys, arranged into "sections" and provides some book-keeping funct...
void SaveAllHotkeys()
Persist all changes to hotkeys in the store to the underlying data structures.
std::vector< HOTKEY > m_HotKeys
HOTKEY(TOOL_ACTION *aAction)
HOTKEY_STORE()
Construct a HOTKEY_STORE from a list of hotkey sections.
std::vector< TOOL_MANAGER * > m_toolManagers
static wxString GetAppName(TOOL_ACTION *aAction)
void ResetAllHotkeysToDefault()
Reset every hotkey in the store to the default values.
bool CheckKeyConflicts(TOOL_ACTION *aAction, long aKey, HOTKEY **aConflict)
Check whether the given key conflicts with anything in this store.
std::vector< TOOL_ACTION * > m_Actions
std::vector< HOTKEY_SECTION > & GetSections()
Get the list of sections managed by this store.
std::vector< HOTKEY_SECTION > m_hk_sections
void ResetAllHotkeysToOriginal()
Resets every hotkey to the original values.
void Init(std::vector< TOOL_MANAGER * > aToolManagerList, bool aIncludeReadOnlyCmds)
static wxString GetSectionName(TOOL_ACTION *aAction)