src/events/SDL_events_c.h
author Sam Lantinga <slouken@libsdl.org>
Thu, 27 Jan 2011 22:44:08 -0800
changeset 5123 dc0dfdd58f27
parent 4657 eed063a0bf5b
child 5262 b530ef003506
permissions -rw-r--r--
Removed completely non-portable event thread hack.
Next I'll be working on generalizing the event sources and making the event queue lock-free. :)
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"
jim@4640
    29
#include "SDL_touch_c.h"
slouken@1895
    30
#include "SDL_windowevents_c.h"
jim@4657
    31
#include "SDL_gesture_c.h"
slouken@5123
    32
slouken@0
    33
/* Start and stop the event processing loop */
slouken@5123
    34
extern int SDL_StartEventLoop(void);
slouken@0
    35
extern void SDL_StopEventLoop(void);
slouken@0
    36
extern void SDL_QuitInterrupt(void);
slouken@0
    37
slouken@1895
    38
extern int SDL_SendSysWMEvent(SDL_SysWMmsg * message);
slouken@0
    39
slouken@1895
    40
extern int SDL_QuitInit(void);
slouken@1895
    41
extern int SDL_SendQuit(void);
slouken@1123
    42
extern void SDL_QuitQuit(void);
slouken@1123
    43
slouken@0
    44
/* The event filter function */
slouken@0
    45
extern SDL_EventFilter SDL_EventOK;
slouken@1895
    46
extern void *SDL_EventOKParam;
slouken@0
    47
slouken@1895
    48
/* vi: set ts=4 sw=4 expandtab: */