HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_undos.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  * COMMENTS:
7  */
8 
9 #ifndef __HOM_undos_h__
10 #define __HOM_undos_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Errors.h"
14 
15 #include <string>
16 #include <vector>
17 #include <stddef.h>
18 
19 
20 class HOM_UndosDisabler;
21 class HOM_UndosGroup;
22 
23 
24 SWIGOUT(%rename(undos) HOM_undos;)
26 {
27 public:
28  virtual ~HOM_undos()
29  {}
30 
31  virtual std::string __repr__() = 0;
32 
33  virtual bool areEnabled() = 0;
34 
35  SWIGOUT(%newobject disabler;)
36  virtual HOM_UndosDisabler *disabler() = 0;
37 
38  SWIGOUT(%newobject group;)
39  virtual HOM_UndosGroup *group(const char *label) = 0;
40 
41  virtual void clear() = 0;
42 
43  virtual size_t memoryUsage() = 0;
44 
45  virtual size_t memoryUsageLimit() = 0;
46 
47  virtual bool performUndo() = 0;
48 
49  virtual bool performRedo() = 0;
50 
51  virtual std::vector<std::string> undoLabels() = 0;
52 
53  virtual std::vector<std::string> redoLabels() = 0;
54 };
55 
56 #endif
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2544
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
virtual ~HOM_undos()
Definition: HOM_undos.h:28
#define HOM_API
Definition: HOM_API.h:13
virtual std::string __repr__()=0