Vuo  2.0.2
VuoCommandUnpublishPort.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "VuoCommandCommon.hh"
13 
14 class VuoEditorWindow;
15 class VuoPort;
16 class VuoPublishedPort;
17 
22 {
23 public:
26 
27  int id() const;
28  void undo();
29  void redo();
30 
31 private:
32  static const int commandID;
33  VuoEditorWindow *window;
34  string revertedSnapshot;
35  string updatedSnapshot;
36 
37  void initialize(VuoPublishedPort *explicitExternalPort,
38  bool isPublishedInput,
39  vector<pair<VuoPort *, VuoPublishedPort *> > internalExternalPortCombinations,
40  VuoEditorWindow *window);
41 };