diff 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
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoaclipboard.h	Thu Jul 08 06:21:48 2010 -0700
+++ b/src/video/cocoa/SDL_cocoaclipboard.h	Thu Jul 08 22:54:03 2010 -0700
@@ -24,9 +24,13 @@
 #ifndef _SDL_cocoaclipboard_h
 #define _SDL_cocoaclipboard_h
 
+/* Forward declaration */
+struct SDL_VideoData;
+
 extern int Cocoa_SetClipboardText(_THIS, const char *text);
 extern char *Cocoa_GetClipboardText(_THIS);
 extern SDL_bool Cocoa_HasClipboardText(_THIS);
+extern void Cocoa_CheckClipboardUpdate(struct SDL_VideoData * data);
 
 #endif /* _SDL_cocoaclipboard_h */