File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1414#include < ezlibs/ezTools.hpp>
1515#include < ezlibs/ezXmlConfig.hpp>
1616
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+
1732typedef const char * ImGuiLabel;
1833
1934typedef double SignalValue;
@@ -102,3 +117,5 @@ typedef std::list<GraphGroupPtr>& GraphGroupsRef;
102117class GraphAnnotation ;
103118typedef std::shared_ptr<GraphAnnotation> GraphAnnotationPtr;
104119typedef 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 {
5757 double m_PredefinedZeroValue = 0.0 ; // the predefined zero value for signals
5858 SourceFilePathName m_ScriptFilePathName;
5959 SourceFileName m_ScriptFileName;
60- std::vector<std::pair<SourceFileName, SourceFilePathName>> m_SourceFilePathNames;
60+ SourceFileContainer m_SourceFilePathNames;
6161 Ltg::ScriptingModuleName m_ScriptingModuleName;
6262 bool m_ShowVariableSignalsInAllGraphView = false ;
6363 bool m_ShowVariableSignalsInGraphView = false ;
You can’t perform that action at this time.
0 commit comments