Vuo
2.0.3
editor
VuoCommandSetPortConstant.hh
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
VuoCommandCommon.hh
"
13
14
class
VuoCompilerPort
;
15
class
VuoEditorWindow
;
16
20
class
VuoCommandSetPortConstant
:
public
VuoCommandCommon
21
{
22
public
:
23
VuoCommandSetPortConstant
(
VuoCompilerPort
*port,
string
constant,
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
35
// Used only for live-coding updates:
36
string
portID;
37
bool
portIsPublished;
38
};
Generated on Tue Apr 28 2020 16:53:59 for Vuo by
1.8.17