#ifndef _GYR_CONFIG_H #define _GYR_CONFIG_H #include #include #include #include "protocol.h" #include "group.h" class Config { private: std::list _group_hosts; int _port; Protocol::Type _mode; short _index; protected: public: Config(int argc, char **argv); void usage(); bool isValid(); std::list getGroupHosts(); int getPort(); short getIndex(); Protocol::Type getMode(); }; #endif // _GYR_CONFIG_H