9 #ifndef __HOM_undos_h__
10 #define __HOM_undos_h__
33 virtual bool areEnabled() = 0;
44 virtual void _addPythonUndo(
49 virtual void removeUndos(
const char *tag) = 0;
51 virtual void clear() = 0;
53 virtual size_t memoryUsage() = 0;
55 virtual size_t memoryUsageLimit() = 0;
57 virtual bool performUndo() = 0;
59 virtual bool performRedo() = 0;
61 virtual std::vector<std::string> undoLabels() = 0;
63 virtual std::vector<std::string> redoLabels() = 0;
69 InterpreterObject undo,
71 const char *tag=
nullptr) {
73 self->_addPythonUndo(undo, label, tag);
GLuint GLsizei const GLchar * label
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)