From: Conrado P. <con...@us...> - 2007-08-27 16:43:25
|
Update of /cvsroot/smartwin/SmartWin/tests/NotePad In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv17501/NotePad Modified Files: Main.cpp Log Message: Unicode command line support Index: Main.cpp =================================================================== RCS file: /cvsroot/smartwin/SmartWin/tests/NotePad/Main.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Main.cpp 9 Jun 2007 19:30:28 -0000 1.4 +++ Main.cpp 26 Aug 2007 22:21:05 -0000 1.5 @@ -10,8 +10,8 @@ int SmartWinMain( SmartWin::Application & app ) { - std::vector<std::string> params = app.getCommandLine().getParams(); - const char * rawParams = app.getCommandLine().getParamsRaw(); + std::vector<SmartUtil::tstring> params = app.getCommandLine().getParams(); + const TCHAR * rawParams = app.getCommandLine().getParamsRaw().c_str(); new MainWindow(); return app.run(); |