Vuo  2.3.2
VuoCommandSetCableHidden.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "VuoCommandCommon.hh"
13 
14 class VuoEditorWindow;
15 class VuoRendererCable;
16 
21 {
22 public:
23  VuoCommandSetCableHidden(VuoRendererCable *cable, bool hidden, VuoEditorWindow *window);
24 
25  int id() const;
26  void undo();
27  void redo();
28 
29 private:
30  static const int commandID;
31  VuoEditorWindow *window;
32  string revertedSnapshot;
33  string updatedSnapshot;
34 };