include/SDL_touch.h
changeset 7191 75360622e65f
parent 7170 d5f5a491fe49
child 8149 681eb46b8ac4
equal deleted inserted replaced
7190:11612d544fcd 7191:75360622e65f
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 
    21 
    22 /**
    22 /**
    23  *  \file SDL_touch.h
    23  *  \file SDL_touch.h
    24  *  
    24  *
    25  *  Include file for SDL touch event handling.
    25  *  Include file for SDL touch event handling.
    26  */
    26  */
    27 
    27 
    28 #ifndef _SDL_touch_h
    28 #ifndef _SDL_touch_h
    29 #define _SDL_touch_h
    29 #define _SDL_touch_h
    33 #include "SDL_video.h"
    33 #include "SDL_video.h"
    34 
    34 
    35 #include "begin_code.h"
    35 #include "begin_code.h"
    36 /* Set up for C function definitions, even when using C++ */
    36 /* Set up for C function definitions, even when using C++ */
    37 #ifdef __cplusplus
    37 #ifdef __cplusplus
    38 /* *INDENT-OFF* */
       
    39 extern "C" {
    38 extern "C" {
    40 /* *INDENT-ON* */
       
    41 #endif
    39 #endif
    42 
    40 
    43 typedef Sint64 SDL_TouchID;
    41 typedef Sint64 SDL_TouchID;
    44 typedef Sint64 SDL_FingerID;
    42 typedef Sint64 SDL_FingerID;
    45 
    43 
    77  */
    75  */
    78 extern DECLSPEC SDL_Finger * SDLCALL SDL_GetTouchFinger(SDL_TouchID touchID, int index);
    76 extern DECLSPEC SDL_Finger * SDLCALL SDL_GetTouchFinger(SDL_TouchID touchID, int index);
    79 
    77 
    80 /* Ends C function definitions when using C++ */
    78 /* Ends C function definitions when using C++ */
    81 #ifdef __cplusplus
    79 #ifdef __cplusplus
    82 /* *INDENT-OFF* */
       
    83 }
    80 }
    84 /* *INDENT-ON* */
       
    85 #endif
    81 #endif
    86 #include "close_code.h"
    82 #include "close_code.h"
    87 
    83 
    88 #endif /* _SDL_touch_h */
    84 #endif /* _SDL_touch_h */
    89 
    85