src/video/cocoa/SDL_cocoamessagebox.h
author Sam Lantinga <slouken@libsdl.org>
Tue, 30 Oct 2012 12:31:26 -0700
changeset 6617 3a92812e0c91
child 6885 700f1b25f77f
permissions -rw-r--r--
Added Cocoa message box implementation
slouken@6617
     1
/*
slouken@6617
     2
  Simple DirectMedia Layer
slouken@6617
     3
  Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
slouken@6617
     4
slouken@6617
     5
  This software is provided 'as-is', without any express or implied
slouken@6617
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@6617
     7
  arising from the use of this software.
slouken@6617
     8
slouken@6617
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@6617
    10
  including commercial applications, and to alter it and redistribute it
slouken@6617
    11
  freely, subject to the following restrictions:
slouken@6617
    12
slouken@6617
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@6617
    14
     claim that you wrote the original software. If you use this software
slouken@6617
    15
     in a product, an acknowledgment in the product documentation would be
slouken@6617
    16
     appreciated but is not required.
slouken@6617
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@6617
    18
     misrepresented as being the original software.
slouken@6617
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@6617
    20
*/
slouken@6617
    21
#include "SDL_config.h"
slouken@6617
    22
slouken@6617
    23
#if SDL_VIDEO_DRIVER_COCOA
slouken@6617
    24
slouken@6617
    25
extern int Cocoa_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid);
slouken@6617
    26
slouken@6617
    27
#endif /* SDL_VIDEO_DRIVER_COCOA */
slouken@6617
    28
slouken@6617
    29
/* vi: set ts=4 sw=4 expandtab: */