* used wstring in FilePath constructor where easily possible * added FilePath concatenate method that accepts string parameter * implemented using only wstring in MessageStatus * used wstring in config
19 lines
238 B
C++
19 lines
238 B
C++
#include "AppPath.h"
|
|
|
|
FilePath AppPath::m_appPath(L"");
|
|
|
|
FilePath AppPath::getAppPath()
|
|
{
|
|
return m_appPath;
|
|
}
|
|
|
|
bool AppPath::setAppPath(const FilePath& path)
|
|
{
|
|
if(!path.empty())
|
|
{
|
|
m_appPath = path;
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|