Vuo 2.4.4
Loading...
Searching...
No Matches
VuoCommandSetPortConstant.hh
Go to the documentation of this file.
1
10#pragma once
11
12#include "VuoCommandCommon.hh"
13
14class VuoCompilerPort;
15class VuoEditorWindow;
16
21{
22public:
23 VuoCommandSetPortConstant(VuoCompilerPort *port, string constant, VuoEditorWindow *window);
24
25 int id() const;
26 void undo();
27 void redo();
28
29private:
30 static const int commandID;
31 VuoEditorWindow *window;
32 string revertedSnapshot;
33 string updatedSnapshot;
34
35 // Used only for live-coding updates:
36 string portID;
37 bool portIsPublished;
38};