HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_hotkeys Class Referenceabstract

#include <HOM_hotkeys.h>

Public Member Functions

virtual ~HOM_hotkeys ()
 
virtual std::string __repr__ ()=0
 
virtual std::vector< std::stringhotkeys (const char *hotkey_symbol)=0
 
virtual std::string hotkeyDescription (const char *hotkey_symbol)=0
 
virtual bool isKeyMatch (const char *key, const char *hotkey_symbol)=0
 
virtual std::vector< std::map
< std::string, std::string > > 
getCommands (const char *english_context)=0
 
virtual std::vector< std::map
< std::string, std::string > > 
getContexts (const char *english_context)=0
 
virtual std::vector< std::stringgetCommandNames (const char *parent)=0
 
virtual std::vector< std::stringgetContextNames (const char *parent)=0
 
virtual std::string hotkeySymbol (const char *english_context, const char *english_command=nullptr)=0
 
virtual bool clearAssignments (const char *hotkey_symbol)=0
 
virtual bool addAssignment (const char *hotkey_symbol, const char *key)=0
 
virtual bool removeAssignment (const char *hotkey_symbol, const char *key)=0
 
virtual std::vector< std::stringfindConflicts (const char *hotkey_symbol, const char *key)=0
 
virtual int getChangeIndex ()=0
 
virtual std::map< std::string,
std::vector< std::string > > 
getHotkeysStatus (const char *hotkey_symbol, int modifier_mask=0)=0
 
virtual std::vector< intgetHotkeycodesStatus (const char *hotkey_symbol, int modifier_mask=0)=0
 
virtual std::string uikeyToString (int uikey, short modifiers=0)=0
 
virtual int stringToUikey (const char *key, short modifiers=0)=0
 
virtual std::string keycodeToString (int keycode, short modifiers=0)=0
 
virtual int stringToKeycode (const char *key, short modifiers=0)=0
 
virtual std::map< std::string,
std::string
getKeyStateStrings (const char *key)=0
 
virtual void createBackupTables ()=0
 
virtual void restoreBackupTables ()=0
 
virtual void revertToDefaults (const char *englishContext, const char *englishCommand, bool oneLevelOnly)=0
 
virtual bool saveOverrides ()=0
 
virtual bool saveAsKeymap (const char *name, const char *path=nullptr)=0
 
virtual bool loadKeymap (const char *name, const char *path=nullptr)=0
 
virtual bool importKeymap (const char *name, const char *path)=0
 
virtual std::vector< std::pair
< std::string, std::string > > 
keymaps ()=0
 
virtual std::string currentKeymap ()=0
 

Detailed Description

Definition at line 23 of file HOM_hotkeys.h.

Constructor & Destructor Documentation

virtual HOM_hotkeys::~HOM_hotkeys ( )
inlinevirtual

Definition at line 26 of file HOM_hotkeys.h.

Member Function Documentation

virtual std::string HOM_hotkeys::__repr__ ( )
pure virtual
virtual bool HOM_hotkeys::addAssignment ( const char *  hotkey_symbol,
const char *  key 
)
pure virtual
virtual bool HOM_hotkeys::clearAssignments ( const char *  hotkey_symbol)
pure virtual
virtual void HOM_hotkeys::createBackupTables ( )
pure virtual
virtual std::string HOM_hotkeys::currentKeymap ( )
pure virtual
virtual std::vector<std::string> HOM_hotkeys::findConflicts ( const char *  hotkey_symbol,
const char *  key 
)
pure virtual
virtual int HOM_hotkeys::getChangeIndex ( )
pure virtual
virtual std::vector<std::string> HOM_hotkeys::getCommandNames ( const char *  parent)
pure virtual
virtual std::vector< std::map<std::string, std::string> > HOM_hotkeys::getCommands ( const char *  english_context)
pure virtual
virtual std::vector<std::string> HOM_hotkeys::getContextNames ( const char *  parent)
pure virtual
virtual std::vector< std::map<std::string, std::string> > HOM_hotkeys::getContexts ( const char *  english_context)
pure virtual
virtual std::vector<int> HOM_hotkeys::getHotkeycodesStatus ( const char *  hotkey_symbol,
int  modifier_mask = 0 
)
pure virtual
virtual std::map<std::string, std::vector<std::string> > HOM_hotkeys::getHotkeysStatus ( const char *  hotkey_symbol,
int  modifier_mask = 0 
)
pure virtual
virtual std::map<std::string, std::string> HOM_hotkeys::getKeyStateStrings ( const char *  key)
pure virtual
virtual std::string HOM_hotkeys::hotkeyDescription ( const char *  hotkey_symbol)
pure virtual
virtual std::vector<std::string> HOM_hotkeys::hotkeys ( const char *  hotkey_symbol)
pure virtual
virtual std::string HOM_hotkeys::hotkeySymbol ( const char *  english_context,
const char *  english_command = nullptr 
)
pure virtual
virtual bool HOM_hotkeys::importKeymap ( const char *  name,
const char *  path 
)
pure virtual
virtual bool HOM_hotkeys::isKeyMatch ( const char *  key,
const char *  hotkey_symbol 
)
pure virtual
virtual std::string HOM_hotkeys::keycodeToString ( int  keycode,
short  modifiers = 0 
)
pure virtual
virtual std::vector<std::pair<std::string, std::string> > HOM_hotkeys::keymaps ( )
pure virtual
virtual bool HOM_hotkeys::loadKeymap ( const char *  name,
const char *  path = nullptr 
)
pure virtual
virtual bool HOM_hotkeys::removeAssignment ( const char *  hotkey_symbol,
const char *  key 
)
pure virtual
virtual void HOM_hotkeys::restoreBackupTables ( )
pure virtual
virtual void HOM_hotkeys::revertToDefaults ( const char *  englishContext,
const char *  englishCommand,
bool  oneLevelOnly 
)
pure virtual
virtual bool HOM_hotkeys::saveAsKeymap ( const char *  name,
const char *  path = nullptr 
)
pure virtual
virtual bool HOM_hotkeys::saveOverrides ( )
pure virtual
virtual int HOM_hotkeys::stringToKeycode ( const char *  key,
short  modifiers = 0 
)
pure virtual
virtual int HOM_hotkeys::stringToUikey ( const char *  key,
short  modifiers = 0 
)
pure virtual
virtual std::string HOM_hotkeys::uikeyToString ( int  uikey,
short  modifiers = 0 
)
pure virtual

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