qemu/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_keys.h
curses.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01:00
d3des.c
d3des.h
keymaps.c
keymaps.h
qemu-spice.h Make spice dummy functions inline to fix calls not checking return values 2011-05-03 15:35:48 +02:00
sdl_keysym.h
sdl_zoom_template.h
sdl_zoom.c
sdl_zoom.h
sdl.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01: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
vnc_keysym.h vnc: added missing name->keysym pairs for Polish national characters 2011-04-01 22:29:27 +02:00
vnc-auth-sasl.c
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
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-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-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs-async.c
vnc-jobs-sync.c
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-tls.c
vnc-tls.h
vnc.c
vnc.h
x_keymap.c
x_keymap.h