summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_events.h
diff options
context:
space:
mode:
authorFRAU KOUJIRO <frau@doushio.com>2014-04-15 19:33:58 -0700
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-08-06 09:31:58 +0200
commit4fc8dcde2ae1525c8ea52d04ed0e7768decf901a (patch)
treedb8e9389bf85d5bc11b4327e175970d1e62653f0 /osdep/macosx_events.h
parent78a2d99de130cc8e6adc18c5d7a987c5c8b2d2b3 (diff)
downloadmpv-4fc8dcde2ae1525c8ea52d04ed0e7768decf901a.tar.bz2
mpv-4fc8dcde2ae1525c8ea52d04ed0e7768decf901a.tar.xz
cocoa: move set_input_context to macosx_events
Diffstat (limited to 'osdep/macosx_events.h')
-rw-r--r--osdep/macosx_events.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/osdep/macosx_events.h b/osdep/macosx_events.h
index a4b122f534..f3dfbdfea4 100644
--- a/osdep/macosx_events.h
+++ b/osdep/macosx_events.h
@@ -21,6 +21,8 @@
#define MACOSX_EVENTS_H
#include "input/keycodes.h"
+struct input_ctx;
+
void cocoa_put_key(int keycode);
void cocoa_put_key_with_modifiers(int keycode, int modifiers);
@@ -30,4 +32,6 @@ void cocoa_uninit_apple_remote(void);
void cocoa_init_media_keys(void);
void cocoa_uninit_media_keys(void);
+void cocoa_set_input_context(struct input_ctx *input_context);
+
#endif