Mercurial > sdl-ios-xcode
comparison include/SDL_main.h @ 1718:ed4d4f1ea201 SDL-1.3
Further progress on the new Windows video driver:
* SDL_SetModuleHandle() is obsolete, I hope.
* SDL 1.3 uses the UNICODE API
* I'm ignoring Windows CE for the moment, we'll reevaluate what needs to be different for Windows CE later.
* Pulled the stdio redirection from WinMain()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 27 Jun 2006 07:46:36 +0000 |
parents | 4da1ee79c9af |
children |
comparison
equal
deleted
inserted
replaced
1717:e3637569ab86 | 1718:ed4d4f1ea201 |
---|---|
61 /* *INDENT-OFF* */ | 61 /* *INDENT-OFF* */ |
62 extern "C" { | 62 extern "C" { |
63 /* *INDENT-ON* */ | 63 /* *INDENT-ON* */ |
64 #endif | 64 #endif |
65 | 65 |
66 /* This should be called from your WinMain() function, if any */ | 66 /* This can be called to set the application class at startup */ |
67 extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst); | |
68 /* This can also be called, but is no longer necessary */ | |
69 extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, | 67 extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, |
70 void *hInst); | 68 void *hInst); |
71 /* This can also be called, but is no longer necessary (SDL_Quit calls it) */ | |
72 extern DECLSPEC void SDLCALL SDL_UnregisterApp(void); | 69 extern DECLSPEC void SDLCALL SDL_UnregisterApp(void); |
70 | |
73 #ifdef __cplusplus | 71 #ifdef __cplusplus |
74 /* *INDENT-OFF* */ | 72 /* *INDENT-OFF* */ |
75 } | 73 } |
76 /* *INDENT-ON* */ | 74 /* *INDENT-ON* */ |
77 #endif | 75 #endif |