#ifndef shaveStyleCmd_h #define shaveStyleCmd_h // Shave and a Haircut // (c) 2019 Epic Games // US Patent 6720962 #include #include #include #include class shaveStyleCmd : public MPxCommand { public: shaveStyleCmd(); virtual ~shaveStyleCmd(); static void* createCmd(); static MSyntax createSyntax(); MStatus doIt( const MArgList& args ); bool isUndoable() const { return false; } static const MString commandName; #ifdef GLOBAL_FALLBACK static bool redrawOnIdlDone; #endif private: void invertSelection(); #ifdef GLOBAL_FALLBACK void redrawOnIdle(bool fullUpdate); unsigned int getTotalHaircount(); unsigned int getTotalDisplayMem(); #endif }; #endif