summaryrefslogtreecommitdiff
path: root/src/client/hotKey.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-23 11:44:09 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-23 11:44:09 +0000
commitc30b18c500bd0abb3362df66448febda36ff80d0 (patch)
tree10d762326878e5991eac9d7c788cde2f3b0d0fd2 /src/client/hotKey.h
parent9c72004fada0af13e4c9b4682c733056a777dc59 (diff)
- hotKey API
- screen-split sa da prepinat klavesou [F3] - TCP pouziva v setsockopt parameter SO_REUSEADDR git-svn-id: http://opensvn.csie.org/tuxanci_ng@243 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/client/hotKey.h')
-rw-r--r--src/client/hotKey.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/client/hotKey.h b/src/client/hotKey.h
new file mode 100644
index 0000000..1e15c1c
--- /dev/null
+++ b/src/client/hotKey.h
@@ -0,0 +1,16 @@
+
+#ifndef HOTKEY_H
+
+#define HOTKEY_H
+
+#define HOTKEY_ACTIVE_INTERVAL 500
+
+extern void initHotKey();
+extern void registerHotKey(SDLKey key, void (*handler)());
+extern void unregisterHotKey(SDLKey key);
+extern void enableHotKey(SDLKey key);
+extern void disableHotKey(SDLKey key);
+extern void eventHotKey();
+extern void quitHotKey();
+
+#endif