Changed: Constify parameters

--HG--
branch : develop
This commit is contained in:
kervala 2018-01-03 18:07:47 +01:00
parent 31a7e3a90d
commit 56d17e2729
2 changed files with 4 additions and 4 deletions

View file

@ -81,8 +81,8 @@ public:
static void deleteLM(INode& ZeNode); // the export scene struct MUST be initialized before calling this fn
void OnNodeProperties (const std::set<INode*> &listNode);
ULONG SelectFileForSave(HWND Parent, TCHAR* Title, const TCHAR* Mask, std::string &FileName);
ULONG SelectDir(HWND Parent, TCHAR* Title, std::string &Path);
ULONG SelectFileForSave(HWND Parent, const TCHAR* Title, const TCHAR* Mask, std::string &FileName);
ULONG SelectDir(HWND Parent, const TCHAR* Title, std::string &Path);
// The nel export objtect
CExportNel *_ExportNel;

View file

@ -26,7 +26,7 @@
//--------------------------------------------------------------------------------------------------------------
ULONG CNelExport::SelectFileForSave(HWND Parent, TCHAR* Title, const TCHAR* Mask, std::string &FileName)
ULONG CNelExport::SelectFileForSave(HWND Parent, const TCHAR* Title, const TCHAR* Mask, std::string &FileName)
{
TCHAR curdir[MAX_PATH];
TCHAR fname[MAX_PATH];
@ -76,7 +76,7 @@ ULONG CNelExport::SelectFileForSave(HWND Parent, TCHAR* Title, const TCHAR* Mask
//--------------------------------------------------------------------------------------------------------------
ULONG CNelExport::SelectDir(HWND Parent, TCHAR* Title, std::string &Path)
ULONG CNelExport::SelectDir(HWND Parent, const TCHAR* Title, std::string &Path)
{
TCHAR str[MAX_PATH];
_tcscpy_s(str, MAX_PATH, utf8ToTStr(Path));