HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_UndoCaptureLayerPaint.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: SOP Library (C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __SOP_UndoCaptureLayerPaint_h__
12 #define __SOP_UndoCaptureLayerPaint_h__
13 
14 #include "SOP_API.h"
15 #include <UT/UT_Undo.h>
16 
17 #include "SOP_CaptureLayerPaint.h"
18 
20 {
21 public:
23  SOP_CaptureLayerData &delta,
24  UT_String &oldrootpath,
25  UT_String &newrootpath,
26  UT_StringArray &oldmapping,
27  UT_StringArray &newmapping);
28  virtual ~SOP_UndoCaptureLayerPaint();
29 
30  virtual void undo();
31  virtual void redo();
32 
33 private:
34  int myOpId;
35  SOP_CaptureLayerData myDelta;
36  UT_String myOldRootPath;
37  UT_String myNewRootPath;
38  UT_StringArray myOldStencilMapping;
39  UT_StringArray myNewStencilMapping;
40 };
41 
42 #endif
virtual void redo()=0
virtual void undo()=0
#define SOP_API
Definition: SOP_API.h:10