00001 //**************************************************************************/ 00002 // Copyright (c) 1998-2006 Autodesk, Inc. 00003 // All rights reserved. 00004 // 00005 // These coded instructions, statements, and computer programs contain 00006 // unpublished proprietary information written by Autodesk, Inc., and are 00007 // protected by Federal copyright law. They may not be disclosed to third 00008 // parties or copied or duplicated in any form, in whole or in part, without 00009 // the prior written consent of Autodesk, Inc. 00010 //**************************************************************************/ 00011 #pragma once 00012 00013 #include <WTypes.h> 00014 #include "CoreExport.h" 00015 // forward declarations 00016 class MacroRecorder; 00017 class MacroDir; 00018 00019 CoreExport void SetLockFailureLevel(int level); 00020 CoreExport int GetLockFailureLevel(); 00021 00023 CoreExport void SetMacroRecorderInterface(MacroRecorder* mri); 00025 CoreExport void SetMacroScriptInterface(MacroDir* msd); 00026 00027 00028 // \name System Setting Flags 00029 // \brief Values to pass to GetSystemSetting(): 00031 00032 #define SYSSET_ENABLE_EDITABLEMESH 1 00033 00035 #define SYSSET_CLEAR_UNDO 2 00036 00037 #define SYSSET_EDITABLEMESH_ENABLE_KEYBOARD_ACCEL 3 00038 00039 #define SYSSET_ENABLE_EDITMESHMOD 4 00040 00041 00042 // This API allows plug-in to query various system settings. 00043 CoreExport int GetSystemSetting(int id); 00044 00045 // Returns the state of the VERSION_3DSMAX #define from PLUGAPI.H 00046 // when the running version of MAX was compiled. 00047 CoreExport DWORD Get3DSMAXVersion(); 00048 00049 00051 // Special access to the MAX INI file for motion capture 00053 #define MCAP_INI_CHANNEL 1 00054 #define MCAP_INI_PRESET 2 00055 #define MCAP_INI_STOP 3 00056 #define MCAP_INI_PLAY 4 00057 #define MCAP_INI_RECORD 5 00058 #define MCAP_INI_SSENABLE 6 00059 00060 00061 CoreExport int GetMotionCaptureINISetting(int ID); 00062 CoreExport void SetMotionCaptureINISetting(int ID, int val); 00063 00064 // CoreExecute: generic expansion capability 00065 CoreExport INT_PTR CoreExecute(int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0); 00066 00067