src/video/uikit/SDL_uikitkeyboard.h
author Sam Lantinga <slouken@libsdl.org>
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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2765
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     1
/*
5535
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     2
  Simple DirectMedia Layer
6138
4c64952a58fb Happy New Year!
Sam Lantinga <slouken@libsdl.org>
parents: 5535
diff changeset
     3
  Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
2765
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     4
5535
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     5
  This software is provided 'as-is', without any express or implied
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     6
  warranty.  In no event will the authors be held liable for any damages
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     7
  arising from the use of this software.
2765
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     8
5535
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
     9
  Permission is granted to anyone to use this software for any purpose,
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    10
  including commercial applications, and to alter it and redistribute it
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    11
  freely, subject to the following restrictions:
2765
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    12
5535
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    13
  1. The origin of this software must not be misrepresented; you must not
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    14
     claim that you wrote the original software. If you use this software
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    15
     in a product, an acknowledgment in the product documentation would be
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    16
     appreciated but is not required.
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    17
  2. Altered source versions must be plainly marked as such, and must not be
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    18
     misrepresented as being the original software.
96594ac5fd1a SDL 1.3 is now under the zlib license.
Sam Lantinga <slouken@libsdl.org>
parents: 5262
diff changeset
    19
  3. This notice may not be removed or altered from any source distribution.
2765
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    20
*/
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    21
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    22
#ifndef sdl_uikitkeyboard_h
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    23
#define sdl_uikitkeyboard_h
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    24
6309
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    25
/* Set up for C function definitions, even when using C++ */
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    26
#ifdef __cplusplus
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    27
/* *INDENT-OFF* */
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    28
extern "C" {
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    29
/* *INDENT-ON* */
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    30
#endif
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    31
3685
64ce267332c6 Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
    32
extern DECLSPEC int SDLCALL SDL_iPhoneKeyboardShow(SDL_Window * window);
64ce267332c6 Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
    33
extern DECLSPEC int SDLCALL SDL_iPhoneKeyboardHide(SDL_Window * window);
64ce267332c6 Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
    34
extern DECLSPEC SDL_bool SDLCALL SDL_iPhoneKeyboardIsShown(SDL_Window * window);
64ce267332c6 Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
    35
extern DECLSPEC int SDLCALL SDL_iPhoneKeyboardToggle(SDL_Window * window);
2765
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    36
6309
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    37
/* Ends C function definitions when using C++ */
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    38
#ifdef __cplusplus
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    39
/* *INDENT-OFF* */
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    40
}
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    41
/* *INDENT-ON* */
2765
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    42
#endif
5133
b915b3181cc2 Fixed spacing, adding vim spacing hints
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
    43
6309
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    44
#endif /* sdl_uikitkeyboard_h */
53a0e9f5db8d Allow SDL_uikitkeyboard.h to be included in C++ applications
Sam Lantinga <slouken@libsdl.org>
parents: 6138
diff changeset
    45
5133
b915b3181cc2 Fixed spacing, adding vim spacing hints
Sam Lantinga <slouken@libsdl.org>
parents: 3697
diff changeset
    46
/* vi: set ts=4 sw=4 expandtab: */