fp@1142: /***************************************************************************** fp@1142: * fp@1142: * $Id$ fp@1142: * fp@1142: ****************************************************************************/ fp@1142: fp@1142: #ifndef __COMMANDCONFIG_H__ fp@1142: #define __COMMANDCONFIG_H__ fp@1142: fp@1142: #include fp@1142: using namespace std; fp@1142: fp@1142: #include "Command.h" fp@1142: fp@1142: /****************************************************************************/ fp@1142: fp@1142: class CommandConfig: fp@1142: public Command fp@1142: { fp@1142: public: fp@1142: CommandConfig(); fp@1142: fp@1142: string helpString() const; fp@1142: void execute(MasterDevice &, const StringVector &); fp@1142: fp@1142: protected: fp@1142: struct Info { fp@1142: string alias; fp@1142: string pos; fp@1142: string ident; fp@1147: string slavePos; fp@1147: string state; fp@1142: }; fp@1142: fp@1142: void showDetailedConfigs(MasterDevice &, const ConfigList &); fp@1147: void listConfigs(MasterDevice &m, const ConfigList &); fp@1142: }; fp@1142: fp@1142: /****************************************************************************/ fp@1142: fp@1142: #endif