Mercurial > mplayer.hg
comparison libvo/vo_quartz.c @ 22823:98eaf29b5dee
Code cleanup: don't include a .c file in mplayer.c and fix a few
"implicit declaration of function ¡Æmplayer_put_key¡Ç" warnings
Based on Attila's suggestions.
Approved by Uoti and Ivan.
author | rathann |
---|---|
date | Thu, 29 Mar 2007 17:16:11 +0000 |
parents | 856d660a1ebd |
children | 300e9b7c499f |
comparison
equal
deleted
inserted
replaced
22822:79cac4f79e36 | 22823:98eaf29b5dee |
---|---|
28 #include "video_out.h" | 28 #include "video_out.h" |
29 #include "video_out_internal.h" | 29 #include "video_out_internal.h" |
30 #include "aspect.h" | 30 #include "aspect.h" |
31 #include "mp_msg.h" | 31 #include "mp_msg.h" |
32 #include "m_option.h" | 32 #include "m_option.h" |
33 #include "mp_fifo.h" | |
33 | 34 |
34 #include "input/input.h" | 35 #include "input/input.h" |
35 #include "input/mouse.h" | 36 #include "input/mouse.h" |
36 | 37 |
37 #include "vo_quartz.h" | 38 #include "vo_quartz.h" |
126 kPanScanCmd = 10 | 127 kPanScanCmd = 10 |
127 }; | 128 }; |
128 | 129 |
129 #include "osdep/keycodes.h" | 130 #include "osdep/keycodes.h" |
130 | 131 |
131 extern void mplayer_put_key(int code); | |
132 extern void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); | 132 extern void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); |
133 | 133 |
134 //PROTOTYPE///////////////////////////////////////////////////////////////// | 134 //PROTOTYPE///////////////////////////////////////////////////////////////// |
135 static OSStatus KeyEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData); | 135 static OSStatus KeyEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData); |
136 static OSStatus MouseEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData); | 136 static OSStatus MouseEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData); |