diff -r af21f0bdc7c9 -r 2b9c78543663 tool/Command.h --- a/tool/Command.h Thu Sep 06 14:21:02 2012 +0200 +++ b/tool/Command.h Mon Nov 03 15:20:05 2014 +0100 @@ -107,12 +107,18 @@ void setDataType(const string &); const string &getDataType() const; + void setEmergency(bool); + bool getEmergency() const; + void setForce(bool); bool getForce() const; void setOutputFile(const string &); const string &getOutputFile() const; + void setSkin(const string &); + const string &getSkin() const; + bool matchesSubstr(const string &) const; bool matchesAbbrev(const string &) const; @@ -136,7 +142,8 @@ typedef list ConfigList; ConfigList selectedConfigs(MasterDevice &); typedef list DomainList; - DomainList selectedDomains(MasterDevice &); + DomainList selectedDomains(MasterDevice &, const ec_ioctl_master_t &); + int emergencySlave() const; static string alStateString(uint8_t); @@ -149,8 +156,10 @@ string positions; string domains; string dataType; + bool emergency; bool force; string outputFile; + string skin; Command(); }; @@ -185,6 +194,13 @@ /****************************************************************************/ +inline bool Command::getEmergency() const +{ + return emergency; +} + +/****************************************************************************/ + inline bool Command::getForce() const { return force; @@ -199,4 +215,11 @@ /****************************************************************************/ +inline const string &Command::getSkin() const +{ + return skin; +} + +/****************************************************************************/ + #endif