autoLoader/moduleLogicCmd.h

autoLoader/moduleLogicCmd.h
//
// Copyright 2012 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this software in either electronic or hard copy form.
//
//-----------------------------------------------------------------------------
#pragma once
#define kmoduleLogicCmdName _T("moduleDetectionLogic")
//-----------------------------------------------------------------------------
class moduleLogicCmd : public MPxCommand {
public:
moduleLogicCmd () : MPxCommand () {}
virtual ~moduleLogicCmd () {}
virtual MStatus doIt (const MArgList &args) ;
//- This method tells Maya this command is undoable. It is added to the undo
//- queue if it is. Return false if you don't want the command to be undoable.
virtual bool isUndoable () const { return (false) ; }
static void *creator() { return new moduleLogicCmd () ; }
} ;