Files
firestorm/Gameleap/code/mw4/Libraries/3dsmax4/Include/SetKeyMode.h
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

44 lines
1.4 KiB
C++

/*********************************************************************
*<
FILE: SetKeyMode.h
DESCRIPTION: Interface to set-key mode related APIs
CREATED BY: Rolf Berteig
HISTORY: Created November 29, 2000
*> Copyright (c) 2000, All Rights Reserved.
**********************************************************************/
#ifndef __SETKEYMODE_H__
#define __SETKEYMODE_H__
#define I_SETKEYMODE 0x00002000
// Gets a pointer to the SetKeyModeInterface interface, the caller should pass a pointer to "Interface"
#define GetSetKeyModeInterface(i) ((SetKeyModeInterface*)i->GetInterface(I_SETKEYMODE))
class SetKeyModeCallback : public InterfaceServer {
public:
virtual void SetKey()=0; // Called when user executes set key command
virtual void ShowUI()=0; // Display set key floater window
virtual void SetKeyModeStateChanged()=0;// Called when user enters or exits set-key mode
};
class SetKeyModeInterface : public InterfaceServer {
public:
virtual void RegisterSetKeyModeCallback(SetKeyModeCallback *cb)=0;
virtual void UnRegisterSetKeyModeCallback(SetKeyModeCallback *cb)=0;
virtual void ActivateSetKeyMode(BOOL onOff)=0;
virtual void AllTracksCommitSetKeyBuffer()=0;
virtual void AllTracksRevertSetKeyBuffer()=0;
virtual BOOL AllTracksSetKeyBufferPresent()=0;
};
#endif //__SETKEYMODE_H__