diff options
Diffstat (limited to 'src/libs/client/PresetModel.h')
-rw-r--r-- | src/libs/client/PresetModel.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libs/client/PresetModel.h b/src/libs/client/PresetModel.h index 9e7f5339..918a6f34 100644 --- a/src/libs/client/PresetModel.h +++ b/src/libs/client/PresetModel.h @@ -35,7 +35,7 @@ class PresetModel { public: PresetModel(const string& base_path) - : m_base_path(base_path) + : _base_path(base_path) {} /** Add a control value to this preset. An empty string for a node_name @@ -45,20 +45,20 @@ public: const string& port_name, float value) { if (node_name != "") - m_controls.push_back(ControlModel(m_base_path + node_name +"/"+ port_name, value)); + _controls.push_back(ControlModel(_base_path + node_name +"/"+ port_name, value)); else - m_controls.push_back(ControlModel(m_base_path + port_name, value)); + _controls.push_back(ControlModel(_base_path + port_name, value)); } - const string& name() const { return m_name; } - void name(const string& n) { m_name = n; } + const string& name() const { return _name; } + void name(const string& n) { _name = n; } - const list<ControlModel>& controls() const { return m_controls; } + const list<ControlModel>& controls() const { return _controls; } private: - string m_name; - string m_base_path; - list<ControlModel> m_controls; + string _name; + string _base_path; + list<ControlModel> _controls; }; |