Initial commit
This commit is contained in:
52
Torque/SDK/lib/maxsdk40/Toolmap.h
Normal file
52
Torque/SDK/lib/maxsdk40/Toolmap.h
Normal file
@@ -0,0 +1,52 @@
|
||||
/**********************************************************************
|
||||
*<
|
||||
FILE: toolmap.h
|
||||
|
||||
DESCRIPTION: defines a mapping between control identifiers and osnaps
|
||||
|
||||
CREATED BY: John Hutchinson
|
||||
|
||||
HISTORY: January 15, 1996
|
||||
*> Copyright (c) 1994, All Rights Reserved.
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __TOOLMAP__
|
||||
#define __TOOLMAP__
|
||||
|
||||
|
||||
class msgdata {
|
||||
public:
|
||||
int recipient;
|
||||
int subindex;
|
||||
int msg;
|
||||
msgdata(){};
|
||||
msgdata(int r, int s, int m):recipient(r), subindex(s), msg(m){};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class tooltabentry {
|
||||
|
||||
private:
|
||||
|
||||
int indexer;
|
||||
msgdata data;
|
||||
|
||||
public:
|
||||
|
||||
tooltabentry(){};
|
||||
tooltabentry(int i, int r, int s, int m);
|
||||
msgdata *Query(int i);
|
||||
|
||||
};
|
||||
|
||||
|
||||
class ToolTab : public Tab<tooltabentry *> {
|
||||
public:
|
||||
msgdata *Lookup(int toolid);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
#endif //_TOOLMAP_
|
||||
Reference in New Issue
Block a user