00001
00002 #ifndef _H_KEYS_H_
00003 #define _H_KEYS_H_
00004
00005 #include <iostream>
00006 using namespace std;
00007
00008 #include <SDL_keysym.h>
00009
00010 const char* ToStr(SDLKey key);
00011 SDLKey ToSDLKey(const char* str);
00012
00013 ostream& operator<<(ostream &out, const SDLKey key);
00014 istream& operator>>(istream &in, SDLKey &key);
00015
00016 #endif //_H_KEYS_H_