src/video/uikit/SDL_uikitkeyboard.h
author Sam Lantinga
Fri, 25 May 2012 18:21:10 -0400
changeset 6309 53a0e9f5db8d
parent 6138 4c64952a58fb
permissions -rwxr-xr-x
Allow SDL_uikitkeyboard.h to be included in C++ applications
slouken@2765
     1
/*
slouken@5535
     2
  Simple DirectMedia Layer
slouken@6138
     3
  Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
slouken@2765
     4
slouken@5535
     5
  This software is provided 'as-is', without any express or implied
slouken@5535
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@5535
     7
  arising from the use of this software.
slouken@2765
     8
slouken@5535
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@5535
    10
  including commercial applications, and to alter it and redistribute it
slouken@5535
    11
  freely, subject to the following restrictions:
slouken@2765
    12
slouken@5535
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@5535
    14
     claim that you wrote the original software. If you use this software
slouken@5535
    15
     in a product, an acknowledgment in the product documentation would be
slouken@5535
    16
     appreciated but is not required.
slouken@5535
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@5535
    18
     misrepresented as being the original software.
slouken@5535
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@2765
    20
*/
slouken@2765
    21
slouken@2765
    22
#ifndef sdl_uikitkeyboard_h
slouken@2765
    23
#define sdl_uikitkeyboard_h
slouken@2765
    24
slouken@6309
    25
/* Set up for C function definitions, even when using C++ */
slouken@6309
    26
#ifdef __cplusplus
slouken@6309
    27
/* *INDENT-OFF* */
slouken@6309
    28
extern "C" {
slouken@6309
    29
/* *INDENT-ON* */
slouken@6309
    30
#endif
slouken@6309
    31
slouken@3685
    32
extern DECLSPEC int SDLCALL SDL_iPhoneKeyboardShow(SDL_Window * window);
slouken@3685
    33
extern DECLSPEC int SDLCALL SDL_iPhoneKeyboardHide(SDL_Window * window);
slouken@3685
    34
extern DECLSPEC SDL_bool SDLCALL SDL_iPhoneKeyboardIsShown(SDL_Window * window);
slouken@3685
    35
extern DECLSPEC int SDLCALL SDL_iPhoneKeyboardToggle(SDL_Window * window);
slouken@2765
    36
slouken@6309
    37
/* Ends C function definitions when using C++ */
slouken@6309
    38
#ifdef __cplusplus
slouken@6309
    39
/* *INDENT-OFF* */
slouken@6309
    40
}
slouken@6309
    41
/* *INDENT-ON* */
slouken@2765
    42
#endif
slouken@5133
    43
slouken@6309
    44
#endif /* sdl_uikitkeyboard_h */
slouken@6309
    45
slouken@5133
    46
/* vi: set ts=4 sw=4 expandtab: */