|
From: andrew7 <bd...@us...> - 2007-06-09 19:30:32
|
Update of /cvsroot/smartwin/SmartWin/tests/NotePad In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv15859 Modified Files: Main.cpp Log Message: Add test of command line parameter functions Index: Main.cpp =================================================================== RCS file: /cvsroot/smartwin/SmartWin/tests/NotePad/Main.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Main.cpp 5 May 2006 17:21:44 -0000 1.3 +++ Main.cpp 9 Jun 2007 19:30:28 -0000 1.4 @@ -10,6 +10,9 @@ int SmartWinMain( SmartWin::Application & app ) { + std::vector<std::string> params = app.getCommandLine().getParams(); + const char * rawParams = app.getCommandLine().getParamsRaw(); + new MainWindow(); return app.run(); } |