diff options
author | Nicolas Bacca | 2004-05-09 14:34:47 +0000 |
---|---|---|
committer | Nicolas Bacca | 2004-05-09 14:34:47 +0000 |
commit | abda73a874edf55c8774f00cd8a0091931c2c625 (patch) | |
tree | 40a971ac23fae51a83ef48d44effdf0cce47faf0 /backends/wince/CEkeys/EventsBuffer.h | |
parent | 300cd8c4111d8414ac2d9ff9cb24360624706368 (diff) | |
download | scummvm-rg350-abda73a874edf55c8774f00cd8a0091931c2c625.tar.gz scummvm-rg350-abda73a874edf55c8774f00cd8a0091931c2c625.tar.bz2 scummvm-rg350-abda73a874edf55c8774f00cd8a0091931c2c625.zip |
Goodbye KeysBuffer, hello EventsBuffer
svn-id: r13819
Diffstat (limited to 'backends/wince/CEkeys/EventsBuffer.h')
-rw-r--r-- | backends/wince/CEkeys/EventsBuffer.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/backends/wince/CEkeys/EventsBuffer.h b/backends/wince/CEkeys/EventsBuffer.h new file mode 100644 index 0000000000..12dacee94d --- /dev/null +++ b/backends/wince/CEkeys/EventsBuffer.h @@ -0,0 +1,46 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2001-2004 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + * + */ + +#ifndef CEKEYS_EVENTSBUFFER +#define CEKEYS_EVENTSBUFFER + +#include "common/stdafx.h" +#include "common/scummsys.h" +#include "common/system.h" +#include "common/list.h" + +#include <SDL.h> + +#include "Key.h" + +namespace CEKEYS { + + class EventsBuffer { + public: + static bool simulateKey(Key *key); + static bool simulateMouseMove(int x, int y); + static bool simulateMouseLeftClick(int x, int y); + static bool simulateMouseRightClick(int x, int y); + + }; +} + +#endif |