summaryrefslogtreecommitdiff
path: root/desktop/grab.h
diff options
context:
space:
mode:
authorch1p <ch1p@ch1p.com>2013-12-29 17:43:49 +0200
committerch1p <ch1p@ch1p.com>2013-12-29 17:58:09 +0200
commitbdc7ff9d08b2f4030e0c27c7752c4bdf2fed6172 (patch)
tree05f298f71867f7896598fad59f11c10e42c126e2 /desktop/grab.h
parent8bd03b4f9c56e12542096e7b946ff196c3e394c2 (diff)
initial commit
Diffstat (limited to 'desktop/grab.h')
-rw-r--r--desktop/grab.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/grab.h b/desktop/grab.h
new file mode 100644
index 0000000..762f9d8
--- /dev/null
+++ b/desktop/grab.h
@@ -0,0 +1,15 @@
+#ifndef GRAB_H__
+#define GRAB_H__
+
+enum HotkeyEvent {
+ HK_PREV, HK_NEXT, HK_PAUSE, HK_PLAY,
+ HOTKEYS_COUNT
+};
+struct Hotkey {
+ enum HotkeyEvent event;
+ int keycode;
+};
+
+void grab_init();
+
+#endif