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 
42 };
43 
44 enum AW_key_mod {
48  AW_KEYMODE_ALT = 8, // Alt or Meta key
50 };
51 
52 // define some inline functions to avoid comparing apples and oranges:
53 inline bool operator==(AW_key_code, char);
54 inline bool operator!=(AW_key_code, char);
55 inline bool operator==(char, AW_key_code);
56 inline bool operator!=(char, AW_key_code);
57 
58 inline bool operator==(AW_key_mod, char);
59 inline bool operator!=(AW_key_mod, char);
60 inline bool operator==(char, AW_key_mod);
61 inline bool operator!=(char, AW_key_mod);
62 
63 #else
64 #error aw_keysym.hxx included twice
65 #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:44