ARB
aw_keysym.hxx
Go to the documentation of this file.
1 // =========================================================== //
2 // //
3 // File : aw_keysym.hxx //
4 // Purpose : //
5 // //
6 // Institute of Microbiology (Technical University Munich) //
7 // http://www.arb-home.de/ //
8 // //
9 // =========================================================== //
10 
11 #ifndef AW_KEYSYM_HXX
12 #define AW_KEYSYM_HXX
13 
44 };
45 
46 enum AW_key_mod {
50  AW_KEYMODE_ALT = 8, // Alt or Meta key
52 };
53 
54 // define some inline functions to avoid comparing apples and oranges:
55 inline bool operator==(AW_key_code, char);
56 inline bool operator!=(AW_key_code, char);
57 inline bool operator==(char, AW_key_code);
58 inline bool operator!=(char, AW_key_code);
59 
60 inline bool operator==(AW_key_mod, char);
61 inline bool operator!=(AW_key_mod, char);
62 inline bool operator==(char, AW_key_mod);
63 inline bool operator!=(char, AW_key_mod);
64 
65 #else
66 #error aw_keysym.hxx included twice
67 #endif // AW_KEYSYM_HXX
bool operator!=(AW_key_code, char)
bool operator==(AW_key_code, char)
AW_key_code
Definition: aw_keysym.hxx:14
AW_key_mod
Definition: aw_keysym.hxx:46