#ifndef MODE_H_ #define MODE_H_ #include #include class Mode { public: virtual ~Mode() {} /** * Executes the mode inside the calling thread. * * @return APPCODE_... */ virtual int execute() = 0; protected: Mode() {} bool checkInvalidArgs(const StringMap* cfg); }; #endif /*MODE_H_*/