blob: 3a1b3bab67667053bb9e2cb5fddb1e021d88f775 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef shaveCursorCtxCmd_h
#define shaveCursorCtxCmd_h
// Shave and a Haircut
// (c) 2019 Epic Games
// US Patent 6720962
#include <maya/MPxContextCommand.h>
class shaveCursorCtx;
//
// A shaveCursorCtxCmd acts as a base class for context commands for
// contexts derived from shaveCursorCtx.
//
class shaveCursorCtxCmd : public MPxContextCommand
{
public:
shaveCursorCtxCmd();
virtual ~shaveCursorCtxCmd();
MStatus appendSyntax();
virtual shaveCursorCtx* createContext() = 0;
virtual MStatus doEditFlags();
virtual MStatus doQueryFlags();
static const MString commandName;
protected:
shaveCursorCtx* mCtx;
private:
MPxContext* makeObj();
};
#endif
|