File tree 2 files changed +18
-1
lines changed
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 14
14
#include < ezlibs/ezTools.hpp>
15
15
#include < ezlibs/ezXmlConfig.hpp>
16
16
17
+ #define declareMember (type, var, def ) \
18
+ private: \
19
+ type m_##var = def; \
20
+ \
21
+ public: \
22
+ void set##var(const type& v##var) { \
23
+ m_##var = v##var; \
24
+ } \
25
+ type& get##var##Ref() { \
26
+ return m_##var; \
27
+ } \
28
+ const type& get##var() const { \
29
+ return m_##var; \
30
+ }
31
+
17
32
typedef const char * ImGuiLabel;
18
33
19
34
typedef double SignalValue;
@@ -102,3 +117,5 @@ typedef std::list<GraphGroupPtr>& GraphGroupsRef;
102
117
class GraphAnnotation ;
103
118
typedef std::shared_ptr<GraphAnnotation> GraphAnnotationPtr;
104
119
typedef std::weak_ptr<GraphAnnotation> GraphAnnotationWeak;
120
+
121
+ typedef std::vector<std::pair<SourceFileName, SourceFilePathName>> SourceFileContainer;
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class ProjectFile : public Ltg::IProject, public ez::xml::Config {
57
57
double m_PredefinedZeroValue = 0.0 ; // the predefined zero value for signals
58
58
SourceFilePathName m_ScriptFilePathName;
59
59
SourceFileName m_ScriptFileName;
60
- std::vector<std::pair<SourceFileName, SourceFilePathName>> m_SourceFilePathNames;
60
+ SourceFileContainer m_SourceFilePathNames;
61
61
Ltg::ScriptingModuleName m_ScriptingModuleName;
62
62
bool m_ShowVariableSignalsInAllGraphView = false ;
63
63
bool m_ShowVariableSignalsInGraphView = false ;
You can’t perform that action at this time.
0 commit comments