ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

tkeymap.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "tkeydef.h"
00004 
00005 #ifdef __BORLANDC__
00006 #include <classlib\arrays.h>
00007 #else
00008 #include <string>
00009 #include "stl_bids.h"
00010 #endif
00011 
00012 //AVS
00013 typedef TArrayAsVector<TKeyDef> keyArray;
00014 
00015 //AVS
00016 // representation of keymap
00017 struct KeyMap {
00018        keyArray  map;                       // keymap
00019        string    orig;                      // original string from .cfg file
00020        TKeyDef   key;                       // 'switch to' key
00021 
00022        KeyMap(DWORD state, DWORD code);
00023        KeyMap(): map(0,0,sizeof(TKeyDef)){};
00024        KeyMap(TKeyDef&tk);
00025        KeyMap(TKeyDef&tk, string&);
00026        KeyMap(const string&t): map(0,0,sizeof(TKeyDef)), orig(t) {};
00027        int   operator==(const KeyMap & t) const;
00028        KeyMap& operator = (const KeyMap& t);
00029 
00030 #ifndef __BORLANDC__
00031        // The STL needs this (Paul Brannan 5/25/98)
00032        friend bool operator<(const KeyMap &t1, const KeyMap &t2);
00033 #endif
00034 
00035        ~KeyMap();
00036 };

Generated on Sat May 26 2012 04:16:11 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.