mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Add different SetText values to MaxCompat header.
Restores compilation of Max 7 plugin, as its SetText expects a non-const pointer. Additionally, NotifyInfo should already be declared in notify.h.
This commit is contained in:
@ -86,8 +86,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#if MAX_VERSION_MAJOR <= 10 // Max 2008
|
||||
# define GETNAME_RETURN_TYPE TCHAR*
|
||||
# define SETTEXT_VALUE_TYPE MCHAR*
|
||||
#else
|
||||
# define GETNAME_RETURN_TYPE const TCHAR*
|
||||
# define SETTEXT_VALUE_TYPE const MCHAR*
|
||||
#endif
|
||||
|
||||
// Old versions of Max define this as an integer, not a Class_ID
|
||||
|
@ -50,7 +50,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
class ActionCallback;
|
||||
struct ActionDescription;
|
||||
struct NotifyInfo;
|
||||
|
||||
typedef bool(*ActionCallbackFunc)(int);
|
||||
|
||||
|
@ -44,14 +44,6 @@ class Class_ID;
|
||||
class Interface;
|
||||
class plMaxNode;
|
||||
|
||||
#include <maxversion.h>
|
||||
#if MAX_VERSION_MAJOR >= 9
|
||||
struct NotifyInfo;
|
||||
#else
|
||||
// Max headers are more minimalistic in pre-9 maxes
|
||||
# include <notify.h>
|
||||
#endif
|
||||
|
||||
class plComponentDlg
|
||||
{
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user