src/video/cocoa/SDL_cocoakeyboard.h
author Sam Lantinga
Sat, 19 Sep 2009 13:29:40 +0000
changeset 3280 00cace2d9080
parent 2859 99210400e8b9
child 3697 f7b03b6838cb
permissions -rw-r--r--
Merged a cleaned up version of Jiang's code changes from Google Summer of Code 2009
slouken@1931
     1
/*
slouken@1931
     2
    SDL - Simple DirectMedia Layer
slouken@2859
     3
    Copyright (C) 1997-2009 Sam Lantinga
slouken@1931
     4
slouken@1931
     5
    This library is free software; you can redistribute it and/or
slouken@1931
     6
    modify it under the terms of the GNU Lesser General Public
slouken@1931
     7
    License as published by the Free Software Foundation; either
slouken@1931
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@1931
     9
slouken@1931
    10
    This library is distributed in the hope that it will be useful,
slouken@1931
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@1931
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1931
    13
    Lesser General Public License for more details.
slouken@1931
    14
slouken@1931
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1931
    16
    License along with this library; if not, write to the Free Software
slouken@1931
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@1931
    18
slouken@1931
    19
    Sam Lantinga
slouken@1931
    20
    slouken@libsdl.org
slouken@1931
    21
*/
slouken@1931
    22
#include "SDL_config.h"
slouken@1931
    23
slouken@1931
    24
#ifndef _SDL_cocoakeyboard_h
slouken@1931
    25
#define _SDL_cocoakeyboard_h
slouken@1931
    26
slouken@1931
    27
extern void Cocoa_InitKeyboard(_THIS);
slouken@1967
    28
extern void Cocoa_HandleKeyEvent(_THIS, NSEvent * event);
slouken@1931
    29
extern void Cocoa_QuitKeyboard(_THIS);
slouken@1931
    30
slouken@3280
    31
extern void Cocoa_StartTextInput(_THIS);
slouken@3280
    32
extern void Cocoa_StopTextInput(_THIS);
slouken@3280
    33
extern void Cocoa_SetTextInputRect(_THIS, SDL_Rect *rect);
slouken@3280
    34
slouken@1931
    35
#endif /* _SDL_cocoakeyboard_h */
slouken@1931
    36
slouken@1931
    37
/* vi: set ts=4 sw=4 expandtab: */