Continue cleaning.
This commit is contained in:
parent
cd688f608f
commit
cb4212d972
67 changed files with 367 additions and 282 deletions
|
@ -1,9 +1,8 @@
|
|||
#include "CommandLineArgs.h"
|
||||
|
||||
#include "StringUtils.h"
|
||||
#ifdef _WIN32
|
||||
#include "Windows.h"
|
||||
#endif
|
||||
#include "UnicodeUtils.h"
|
||||
|
||||
#include "Win32BaseIncludes.h"
|
||||
|
||||
CommandLineArgs::CommandLineArgs()
|
||||
: mArugments(),
|
||||
|
@ -25,7 +24,7 @@ void CommandLineArgs::initialize(CommandLineArgs* args)
|
|||
std::vector<std::string> windowsArgs(nArgs);
|
||||
for (int idx = 0; idx < nArgs; idx++)
|
||||
{
|
||||
windowsArgs[idx] = StringUtils::convert(szArglist[idx]);
|
||||
windowsArgs[idx] = UnicodeUtils::utf16ToUtf8String(szArglist[idx]);
|
||||
}
|
||||
::LocalFree(szArglist);
|
||||
|
||||
|
@ -71,7 +70,7 @@ std::vector<std::string> CommandLineArgs::getUserArgs() const
|
|||
return user_args;
|
||||
}
|
||||
|
||||
const std::vector<std::string> CommandLineArgs::getArgs() const
|
||||
const std::vector<std::string> CommandLineArgs::getArgs() const
|
||||
{
|
||||
return mArugments;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue