author | Paul Hunkin <paul@bieh.net> |
Mon, 17 May 2010 15:14:34 +1200 | |
changeset 4695 | b7918263da92 |
parent 4429 | faa9fc8e7f67 |
child 4640 | f068a6dfc858 |
permissions | -rw-r--r-- |
slouken@0 | 1 |
/* |
slouken@0 | 2 |
SDL - Simple DirectMedia Layer |
slouken@3697 | 3 |
Copyright (C) 1997-2010 Sam Lantinga |
slouken@0 | 4 |
|
slouken@0 | 5 |
This library is free software; you can redistribute it and/or |
slouken@1312 | 6 |
modify it under the terms of the GNU Lesser General Public |
slouken@0 | 7 |
License as published by the Free Software Foundation; either |
slouken@1312 | 8 |
version 2.1 of the License, or (at your option) any later version. |
slouken@0 | 9 |
|
slouken@0 | 10 |
This library is distributed in the hope that it will be useful, |
slouken@0 | 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
slouken@0 | 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
slouken@1312 | 13 |
Lesser General Public License for more details. |
slouken@0 | 14 |
|
slouken@1312 | 15 |
You should have received a copy of the GNU Lesser General Public |
slouken@1312 | 16 |
License along with this library; if not, write to the Free Software |
slouken@1312 | 17 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
slouken@0 | 18 |
|
slouken@0 | 19 |
Sam Lantinga |
slouken@252 | 20 |
slouken@libsdl.org |
slouken@0 | 21 |
*/ |
slouken@1402 | 22 |
#include "SDL_config.h" |
slouken@0 | 23 |
|
slouken@0 | 24 |
/* Useful functions and variables from SDL_events.c */ |
slouken@0 | 25 |
#include "SDL_events.h" |
slouken@3578 | 26 |
#include "SDL_thread.h" |
slouken@1895 | 27 |
#include "SDL_mouse_c.h" |
slouken@1895 | 28 |
#include "SDL_keyboard_c.h" |
slouken@1895 | 29 |
#include "SDL_windowevents_c.h" |
slouken@0 | 30 |
|
slouken@0 | 31 |
/* Start and stop the event processing loop */ |
slouken@0 | 32 |
extern int SDL_StartEventLoop(Uint32 flags); |
slouken@0 | 33 |
extern void SDL_StopEventLoop(void); |
slouken@0 | 34 |
extern void SDL_QuitInterrupt(void); |
slouken@0 | 35 |
|
slouken@1612 | 36 |
extern void SDL_Lock_EventThread(void); |
slouken@1612 | 37 |
extern void SDL_Unlock_EventThread(void); |
slouken@3578 | 38 |
extern SDL_threadID SDL_EventThreadID(void); |
slouken@0 | 39 |
|
slouken@1895 | 40 |
extern int SDL_SendSysWMEvent(SDL_SysWMmsg * message); |
slouken@0 | 41 |
|
slouken@1895 | 42 |
extern int SDL_QuitInit(void); |
slouken@1895 | 43 |
extern int SDL_SendQuit(void); |
slouken@1123 | 44 |
extern void SDL_QuitQuit(void); |
slouken@1123 | 45 |
|
slouken@0 | 46 |
/* The event filter function */ |
slouken@0 | 47 |
extern SDL_EventFilter SDL_EventOK; |
slouken@1895 | 48 |
extern void *SDL_EventOKParam; |
slouken@0 | 49 |
|
slouken@1895 | 50 |
/* vi: set ts=4 sw=4 expandtab: */ |