comparison src/video/cocoa/SDL_cocoaclipboard.h @ 4503:524dfefd554c

Added an event when the clipboard is updated, triggered after the window gains the keyboard focus.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 08 Jul 2010 22:54:03 -0700
parents c2ebe3e020c6
children b530ef003506
comparison
equal deleted inserted replaced
4502:b3540fa08474 4503:524dfefd554c
22 #include "SDL_config.h" 22 #include "SDL_config.h"
23 23
24 #ifndef _SDL_cocoaclipboard_h 24 #ifndef _SDL_cocoaclipboard_h
25 #define _SDL_cocoaclipboard_h 25 #define _SDL_cocoaclipboard_h
26 26
27 /* Forward declaration */
28 struct SDL_VideoData;
29
27 extern int Cocoa_SetClipboardText(_THIS, const char *text); 30 extern int Cocoa_SetClipboardText(_THIS, const char *text);
28 extern char *Cocoa_GetClipboardText(_THIS); 31 extern char *Cocoa_GetClipboardText(_THIS);
29 extern SDL_bool Cocoa_HasClipboardText(_THIS); 32 extern SDL_bool Cocoa_HasClipboardText(_THIS);
33 extern void Cocoa_CheckClipboardUpdate(struct SDL_VideoData * data);
30 34
31 #endif /* _SDL_cocoaclipboard_h */ 35 #endif /* _SDL_cocoaclipboard_h */
32 36
33 /* vi: set ts=4 sw=4 expandtab: */ 37 /* vi: set ts=4 sw=4 expandtab: */