/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2006 Sam Lantinga
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Sam Lantinga
slouken@libsdl.org
*/
module sdl.c.sdl_main;
public
{
import sdl.c.sdl_stdinc;
}
extern(C):
/* The prototype for the application's main() function */
int SDL_main(int argc, char *argv[]);
/* This should be called from your WinMain() function, if any */
void SDL_SetModuleHandle(void *hInst);
/* This can also be called, but is no longer necessary */
int SDL_RegisterApp(char *name, Uint32 style, void *hInst);
/* This can also be called, but is no longer necessary (SDL_Quit calls it) */
void SDL_UnregisterApp();
/* Forward declaration so we don't need to include QuickDraw.h */
struct QDGlobals{ }
/* This should be called from your main() function, if any */
void SDL_InitQuickDraw(QDGlobals *the_qd);