Updated Polish translation
[dasher.git] / Src / Gtk2 / KeyboardHelper.h
blob849088a4704b2b8e13138f89b5e2703d41c04728
1 #ifndef __KEYBOARD_HELPER_H__
2 #define __KEYBOARD_HELPER_H__
4 //#include "../DasherCore/DasherInterfaceBase.h"
6 #include "DasherAppSettings.h"
8 #include <map>
10 class CKeyboardHelper {
11 public:
12 CKeyboardHelper(DasherAppSettings *pAppSettings);
13 void SetKey(int iCode, int iId);
14 void UnsetKey(int iCode);
16 int ConvertKeycode(int iCode);
17 // unused: void Grab(bool bGrab);
19 private:
20 void SetupDefaults();
21 void LoadSettings();
22 void SaveSettings();
24 std::map<int, int> m_mTable;
26 // CDasherInterfaceBase *m_pInterface;
27 DasherAppSettings *m_pAppSettings;
30 #endif