ReactOS 0.4.15-dev-7693-gd0e2924
tkeymap.h
Go to the documentation of this file.
1#pragma once
2
3//#include "tkeydef.h"
4
5#ifdef __BORLANDC__
6#include <classlib\arrays.h>
7#else
8#include <string>
9#include "stl_bids.h"
10#endif
11
12//AVS
14
15//AVS
16// representation of keymap
17struct KeyMap {
18 keyArray map; // keymap
19 string orig; // original string from .cfg file
20 TKeyDef key; // 'switch to' key
21
24 KeyMap(TKeyDef&tk);
25 KeyMap(TKeyDef&tk, string&);
26 KeyMap(const string&t): map(0,0,sizeof(TKeyDef)), orig(t) {};
27 int operator==(const KeyMap & t) const;
28 KeyMap& operator = (const KeyMap& t);
29
30#ifndef __BORLANDC__
31 // The STL needs this (Paul Brannan 5/25/98)
32 friend bool operator<(const KeyMap &t1, const KeyMap &t2);
33#endif
34
35 ~KeyMap();
36};
static int state
Definition: maze.c:121
unsigned long DWORD
Definition: ntddk_ex.h:95
GLdouble GLdouble t
Definition: gl.h:2047
Definition: tkeymap.h:17
keyArray map
Definition: tkeymap.h:18
KeyMap & operator=(const KeyMap &t)
Definition: tkeymap.cpp:48
~KeyMap()
Definition: tkeymap.cpp:61
int operator==(const KeyMap &t) const
Definition: tkeymap.cpp:44
string orig
Definition: tkeymap.h:19
KeyMap(TKeyDef &tk, string &)
friend bool operator<(const KeyMap &t1, const KeyMap &t2)
Definition: tkeymap.cpp:56
KeyMap(const string &t)
Definition: tkeymap.h:26
KeyMap()
Definition: tkeymap.h:23
TKeyDef key
Definition: tkeymap.h:20
Definition: inflate.c:139
TArrayAsVector< TKeyDef > keyArray
Definition: tkeymap.h:13
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList