Changed: Constify parameters
--HG-- branch : develop
This commit is contained in:
parent
31a7e3a90d
commit
56d17e2729
2 changed files with 4 additions and 4 deletions
|
@ -81,8 +81,8 @@ public:
|
||||||
static void deleteLM(INode& ZeNode); // the export scene struct MUST be initialized before calling this fn
|
static void deleteLM(INode& ZeNode); // the export scene struct MUST be initialized before calling this fn
|
||||||
void OnNodeProperties (const std::set<INode*> &listNode);
|
void OnNodeProperties (const std::set<INode*> &listNode);
|
||||||
|
|
||||||
ULONG SelectFileForSave(HWND Parent, TCHAR* Title, const TCHAR* Mask, std::string &FileName);
|
ULONG SelectFileForSave(HWND Parent, const TCHAR* Title, const TCHAR* Mask, std::string &FileName);
|
||||||
ULONG SelectDir(HWND Parent, TCHAR* Title, std::string &Path);
|
ULONG SelectDir(HWND Parent, const TCHAR* Title, std::string &Path);
|
||||||
|
|
||||||
// The nel export objtect
|
// The nel export objtect
|
||||||
CExportNel *_ExportNel;
|
CExportNel *_ExportNel;
|
||||||
|
|
|
@ -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 curdir[MAX_PATH];
|
||||||
TCHAR fname[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];
|
TCHAR str[MAX_PATH];
|
||||||
_tcscpy_s(str, MAX_PATH, utf8ToTStr(Path));
|
_tcscpy_s(str, MAX_PATH, utf8ToTStr(Path));
|
||||||
|
|
Loading…
Reference in a new issue