mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
@ -79,9 +79,15 @@ typedef TCHAR MCHAR;
|
|||||||
#endif // MAX_VERSION_MAJOR
|
#endif // MAX_VERSION_MAJOR
|
||||||
|
|
||||||
#if MAX_VERSION_MAJOR <= 11 // max 2009. Just a guess, really. 2010 doesn't need this function.
|
#if MAX_VERSION_MAJOR <= 11 // max 2009. Just a guess, really. 2010 doesn't need this function.
|
||||||
#define INIT_CUSTOM_CONTROLLS(instance) InitCustomControls(instance)
|
#define INIT_CUSTOM_CONTROLS(instance) InitCustomControls(instance)
|
||||||
#else
|
#else
|
||||||
#define INIT_CUSTOM_CONTROLS(instance)
|
#define INIT_CUSTOM_CONTROLS(instance)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if MAX_VERSION_MAJOR <= 10 // Max 2008
|
||||||
|
#define GETNAME_RETURN_TYPE TCHAR*
|
||||||
|
#else
|
||||||
|
#define GETNAME_RETURN_TYPE const TCHAR*
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // _PLASMA_MAXCOMPAT_H
|
#endif // _PLASMA_MAXCOMPAT_H
|
@ -235,7 +235,7 @@ public:
|
|||||||
ReferenceTarget *Clone(RemapDir &remap = DEFAULTREMAP);
|
ReferenceTarget *Clone(RemapDir &remap = DEFAULTREMAP);
|
||||||
virtual bool CheckCopyAttribTo(ICustAttribContainer *to) { return true; }
|
virtual bool CheckCopyAttribTo(ICustAttribContainer *to) { return true; }
|
||||||
|
|
||||||
const TCHAR* GetName() { return (const TCHAR*)_T(fClassDesc->ClassName()); }
|
GETNAME_RETURN_TYPE GetName() { return (GETNAME_RETURN_TYPE)_T(fClassDesc->ClassName()); }
|
||||||
void DeleteThis() { delete this; }
|
void DeleteThis() { delete this; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user