|
From: Stephan <ste...@us...> - 2007-08-22 12:05:21
|
Update of /cvsroot/smartwin/SmartWin/include/smartwin In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv26872 Modified Files: CommandLine.h Log Message: Use SmartUtil::tstring not std::string Index: CommandLine.h =================================================================== RCS file: /cvsroot/smartwin/SmartWin/include/smartwin/CommandLine.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- CommandLine.h 5 May 2006 17:14:37 -0000 1.7 +++ CommandLine.h 22 Aug 2007 12:05:16 -0000 1.8 @@ -29,8 +29,7 @@ #ifndef CommandLine_h #define CommandLine_h -#include <string> -#include <vector> +#include "SmartUtil.h" namespace SmartWin { @@ -96,7 +95,7 @@ * impose so much overhead that the class would render useless and everybody * would just resemble to using the "raw" getter... */ - const std::vector< std::string > & getParams() const; + const SmartUtil::tstringcollection & getParams() const; /// Returns the "raw" command line parameter /** For those of you which MUST have the actual RAW command line parameter you @@ -106,7 +105,7 @@ * Use one of the UNICODE converters if you must have it in UNICODE or * "CURRENT_BUILD"... */ - const char * getParamsRaw() const; + const SmartUtil::tstring getParamsRaw() const; ~CommandLine(); @@ -117,8 +116,8 @@ // Uncopyable! CommandLine( const CommandLine & ); // Never implemented! - const std::vector< std::string > itsCmdLine; - const char * itsRawCmdLine; + SmartUtil::tstringcollection itsCmdLine; + SmartUtil::tstring itsRawCmdLine; }; // end namespace SmartWin |