summaryrefslogtreecommitdiffstats
path: root/src/RemoteControl.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 11:30:04 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 11:30:04 +0100
commit95f556cf0797ab4c23f431e5c8c5accfa7f4c30b (patch)
treef3958bd5b3d6a686ee1a04d3b23f2f0ba6d566de /src/RemoteControl.h
parent9b0203901bc83a07c4ce281f7d0c2e7f825f77a5 (diff)
downloaddabmod-95f556cf0797ab4c23f431e5c8c5accfa7f4c30b.tar.gz
dabmod-95f556cf0797ab4c23f431e5c8c5accfa7f4c30b.tar.bz2
dabmod-95f556cf0797ab4c23f431e5c8c5accfa7f4c30b.zip
Fix a few minor mistakes
Diffstat (limited to 'src/RemoteControl.h')
-rw-r--r--src/RemoteControl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/RemoteControl.h b/src/RemoteControl.h
index 013738b..11cd52c 100644
--- a/src/RemoteControl.h
+++ b/src/RemoteControl.h
@@ -94,7 +94,7 @@ class BaseRemoteController {
class RemoteControllable {
public:
RemoteControllable(const std::string& name) :
- m_name(name) {}
+ m_rc_name(name) {}
RemoteControllable(const RemoteControllable& other) = delete;
RemoteControllable& operator=(const RemoteControllable& other) = delete;
@@ -105,7 +105,7 @@ class RemoteControllable {
* It might be used in the commands the user has to type, so keep
* it short
*/
- virtual std::string get_rc_name() const { return m_name; }
+ virtual std::string get_rc_name() const { return m_rc_name; }
/* Return a list of possible parameters that can be set */
virtual std::list<std::string> get_supported_parameters() const;
@@ -126,7 +126,7 @@ class RemoteControllable {
virtual const std::string get_parameter(const std::string& parameter) const = 0;
protected:
- std::string m_name;
+ std::string m_rc_name;
std::list< std::vector<std::string> > m_parameters;
};