00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Side Effects Software Inc. 00008 * 477 Richmond Street West 00009 * Toronto, Ontario, M5V 3E7 00010 * Canada 00011 * 416-504-9876 00012 * 00013 * NAME: SOP Library (C++) 00014 * 00015 * COMMENTS: 00016 */ 00017 00018 #ifndef __SOP_UndoCaptureLayerPaint_h__ 00019 #define __SOP_UndoCaptureLayerPaint_h__ 00020 00021 #include "SOP_API.h" 00022 #include <UT/UT_Undo.h> 00023 00024 #include "SOP_CaptureLayerPaint.h" 00025 00026 class SOP_API SOP_UndoCaptureLayerPaint : public UT_Undo 00027 { 00028 public: 00029 SOP_UndoCaptureLayerPaint(SOP_CaptureLayerPaint *node, 00030 SOP_CaptureLayerData &delta, 00031 UT_String &oldrootpath, 00032 UT_String &newrootpath, 00033 UT_StringArray &oldmapping, 00034 UT_StringArray &newmapping); 00035 virtual ~SOP_UndoCaptureLayerPaint(); 00036 00037 virtual void undo(); 00038 virtual void redo(); 00039 00040 private: 00041 int myOpId; 00042 SOP_CaptureLayerData myDelta; 00043 UT_String myOldRootPath; 00044 UT_String myNewRootPath; 00045 UT_StringArray myOldStencilMapping; 00046 UT_StringArray myNewStencilMapping; 00047 }; 00048 00049 #endif
1.5.9