qemu-e2k/ui
Andreas Färber 7fee199cf9 cocoa: Avoid warning related to multiple handleEvent: definitions
Avoid compiler confusion as to which method signature to use for the
handleEvent: selector on OSX >= 10.6 by making the variable type-safe
as opposed to generic 'id' type.
Requires moving the variable definition to after the class definition.

----8<----
ui/cocoa.m: In function ‘cocoa_refresh’:
ui/cocoa.m:997: warning: multiple methods named ‘-handleEvent:’ found
/System/Library/Frameworks/AppKit.framework/Headers/NSTextInputContext.h:84: warning: using ‘-(BOOL)handleEvent:(NSEvent *)theEvent’
ui/cocoa.m:272: warning: also found ‘-(void)handleEvent:(NSEvent *)event’
----8<---

Reported-by: Alexandre Raymond <cerbere@gmail.com>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Tested-by: Alexandre Raymond <cerbere@gmail.com>
2011-06-14 03:08:58 +02:00
..
cocoa.m cocoa: Avoid warning related to multiple handleEvent: definitions 2011-06-14 03:08:58 +02:00
curses.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01:00
curses_keys.h curses: Fix control-{@[\]^_} and ESC 2010-10-21 18:31:28 +02:00
d3des.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
d3des.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
keymaps.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
keymaps.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
qemu-spice.h Make spice dummy functions inline to fix calls not checking return values 2011-05-03 15:35:48 +02:00
sdl.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01:00
sdl_keysym.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
sdl_zoom_template.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
spice-core.c spice: require spice 0.6.0 or newer. 2011-06-06 09:14:42 +02:00
spice-display.c spice: drop obsolete iothread locking 2011-05-03 15:35:48 +02:00
spice-display.h spice: don't call displaystate callbacks from spice server context. 2011-05-03 15:35:48 +02:00
spice-input.c spice: add tablet support 2010-09-21 18:36:43 +02:00
vnc-auth-sasl.c vnc-auth-sasl: fix a memory leak 2011-01-12 19:48:56 +00:00
vnc-auth-sasl.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-vencrypt.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-auth-vencrypt.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-enc-hextile-template.h vnc: rename vnc-encoding-* vnc-enc-* 2010-07-26 17:36:13 -05:00
vnc-enc-hextile.c vnc: encapsulate encoding members 2010-07-26 17:36:14 -05:00
vnc-enc-tight.c vnc: tight: Fix crash after 2GB of output 2011-04-10 00:14:51 +02:00
vnc-enc-tight.h vnc: tight add PNG encoding 2010-07-26 17:36:14 -05:00
vnc-enc-zlib.c vnc: tight: Fix crash after 2GB of output 2011-04-10 00:14:51 +02:00
vnc-enc-zrle-template.c vnc: Add ZRLE and ZYWRLE encodings. 2011-02-23 16:28:28 -06:00
vnc-enc-zrle.c vnc: fix uint8_t comparisons with negative values 2011-02-23 16:28:28 -06:00
vnc-enc-zrle.h vnc: Add ZRLE and ZYWRLE encodings. 2011-02-23 16:28:28 -06:00
vnc-enc-zywrle-template.c vnc: Add ZRLE and ZYWRLE encodings. 2011-02-23 16:28:28 -06:00
vnc-enc-zywrle.h vnc: Add ZRLE and ZYWRLE encodings. 2011-02-23 16:28:28 -06:00
vnc-jobs-async.c Refactor thread retrieval and check 2011-03-13 14:44:21 +00:00
vnc-jobs-sync.c vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-jobs.h vnc: threaded VNC server 2010-07-26 17:36:14 -05:00
vnc-palette.c severe memory leak caused by broken palette_destroy() function 2011-03-25 07:28:24 -05:00
vnc-palette.h vnc: palette: and fill and color calls. 2011-02-23 16:28:28 -06:00
vnc-tls.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc-tls.h ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
vnc.c vnc: fix build error from VNC_DIRTY_WORDS 2011-03-22 11:27:33 -05:00
vnc.h vnc: Fix stack corruption and other bitmap related bugs 2011-03-10 16:12:25 -06:00
vnc_keysym.h vnc: added missing name->keysym pairs for Polish national characters 2011-04-01 22:29:27 +02:00
x_keymap.c ui: move all ui components in ui/ 2010-07-26 17:35:54 -05:00
x_keymap.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00