X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmain.cpp;fp=source%2Fmain.cpp;h=0000000000000000000000000000000000000000;hb=e1ea831a640fba534e7e42e399f04cdf681ef8d3;hp=4b187c3ed244b35491658ee66ee14aeb08419cc0;hpb=0bcb8d4d6f33cbdad7b921cac787740bfe8e212e;p=libs%2Fcore.git diff --git a/source/main.cpp b/source/main.cpp deleted file mode 100644 index 4b187c3..0000000 --- a/source/main.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -This file is part of libmspframework -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ -#ifdef WIN32 -#include -#endif - -#include "application.h" - -#ifdef WIN32 -int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) -{ - int argc = 0; - LPWSTR *argv = CommandLineToArgvW(GetCommandLineW(), &argc); - return Msp::Application::run(argc, (char **)argv); -} -#endif - -int main(int argc, char **argv) -{ return Msp::Application::run(argc, argv); }