nodeCreatedCBCmd.h
#ifndef _nodeCreatedCBCmd_h
#define _nodeCreatedCBCmd_h
#include <maya/MPxCommand.h>
#include <maya/MMessage.h>
class MObject;
class nodeCreatedCB : public MPxCommand {
public:
nodeCreatedCB() {};
virtual MStatus doIt ( const MArgList& );
static void sCallbackFunc( MObject& node, void * clientData );
static void* creator();
static MSyntax newSyntax();
static MCallbackId sId;
static MStringArray sMelProcs;
static MIntArray sFullDagPath;
private:
MStatus registerMelProc( MString melProc, bool fullDagPath );
MStatus unregisterMelProc( MString melProc );
MStatus changeFilter( MString filter );
};
#endif