include/SDL_messagebox.h
changeset 7191 75360622e65f
parent 7188 20bd120bf7e4
child 8149 681eb46b8ac4
equal deleted inserted replaced
7190:11612d544fcd 7191:75360622e65f
    26 #include "SDL_video.h"      /* For SDL_Window */
    26 #include "SDL_video.h"      /* For SDL_Window */
    27 
    27 
    28 #include "begin_code.h"
    28 #include "begin_code.h"
    29 /* Set up for C function definitions, even when using C++ */
    29 /* Set up for C function definitions, even when using C++ */
    30 #ifdef __cplusplus
    30 #ifdef __cplusplus
    31 /* *INDENT-OFF* */
       
    32 extern "C" {
    31 extern "C" {
    33 /* *INDENT-ON* */
       
    34 #endif
    32 #endif
    35 
    33 
    36 /**
    34 /**
    37  * \brief SDL_MessageBox flags. If supported will display warning icon, etc.
    35  * \brief SDL_MessageBox flags. If supported will display warning icon, etc.
    38  */
    36  */
   135 extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *title, const char *message, SDL_Window *window);
   133 extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *title, const char *message, SDL_Window *window);
   136 
   134 
   137 
   135 
   138 /* Ends C function definitions when using C++ */
   136 /* Ends C function definitions when using C++ */
   139 #ifdef __cplusplus
   137 #ifdef __cplusplus
   140 /* *INDENT-OFF* */
       
   141 }
   138 }
   142 /* *INDENT-ON* */
       
   143 #endif
   139 #endif
   144 #include "close_code.h"
   140 #include "close_code.h"
   145 
   141 
   146 #endif /* _SDL_messagebox_h */
   142 #endif /* _SDL_messagebox_h */
   147 
   143