src/video/haiku/SDL_bmessagebox.h
changeset 13230 57ed423da32a
child 13238 007002587d5d
equal deleted inserted replaced
13229:0b98870c7f72 13230:57ed423da32a
       
     1 /*
       
     2   Simple DirectMedia Layer
       
     3   Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
       
     4   Copyright (C) 2018 EXL <exlmotodev@gmail.com>
       
     5 
       
     6   This software is provided 'as-is', without any express or implied
       
     7   warranty.  In no event will the authors be held liable for any damages
       
     8   arising from the use of this software.
       
     9 
       
    10   Permission is granted to anyone to use this software for any purpose,
       
    11   including commercial applications, and to alter it and redistribute it
       
    12   freely, subject to the following restrictions:
       
    13 
       
    14   1. The origin of this software must not be misrepresented; you must not
       
    15      claim that you wrote the original software. If you use this software
       
    16      in a product, an acknowledgment in the product documentation would be
       
    17      appreciated but is not required.
       
    18   2. Altered source versions must be plainly marked as such, and must not be
       
    19      misrepresented as being the original software.
       
    20   3. This notice may not be removed or altered from any source distribution.
       
    21 */
       
    22 
       
    23 #ifndef SDL_BMESSAGEBOX_H
       
    24 #define SDL_BMESSAGEBOX_H
       
    25 
       
    26 #include "../../SDL_internal.h"
       
    27 
       
    28 #if SDL_VIDEO_DRIVER_HAIKU
       
    29 
       
    30 #ifdef __cplusplus
       
    31 extern "C" {
       
    32 #endif
       
    33 
       
    34 extern int
       
    35 BE_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid);
       
    36 
       
    37 #ifdef __cplusplus
       
    38 }
       
    39 #endif
       
    40 
       
    41 #endif /* SDL_VIDEO_DRIVER_HAIKU */
       
    42 
       
    43 #endif
       
    44 
       
    45 /* vi: set ts=4 sw=4 expandtab: */