00001 #ifndef H_SYSDEP
00002 #define H_SYSDEP
00003
00004 namespace SDLPP {
00005
00006 typedef void (*function)();
00007 function get_function(const char* module, const char* name);
00008 void DBG(const char*);
00009 void display_message(const xstring& msg);
00010 xstring get_current_directory();
00011
00012 }
00013
00014 #ifdef WIN32
00015 #include <windows.h>
00016 #define MAIN int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
00017 #endif
00018 #ifdef LINUX
00019 #define MAIN int main(int argc, char* argv[])
00020 #endif
00021
00022 #endif // H_SYSDEP
00023