From a237a2d7723b94df6cd3e91401ec28388de6f1a0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 21 Oct 2007 23:02:47 +0000 Subject: namespace cleanup --- src/client/input.h | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'src/client/input.h') diff --git a/src/client/input.h b/src/client/input.h index f1e94d9..6027d58 100644 --- a/src/client/input.h +++ b/src/client/input.h @@ -6,19 +6,29 @@ #ifndef __INCLUDED_INPUT_H__ #define __INCLUDED_INPUT_H__ +#include -namespace input +namespace client { + +class Input { +public: /// initialize the input subsystem - void init(); + static void init(); /// shutdown the input subsystem - void shutdown(); + static void shutdown(); /// exit the application - void quit(int exit_code); + static void quit(int exit_code); /// process input events - void process(); + static void process(); + +protected: + /// handle keydown events + static void handle_keydown(SDL_keysym* keysym); }; +} // namespace Client + #endif // __INCLUDED_INPUT_H__ -- cgit v1.2.3