/** * Copyright (c) 2010,2011 - RZ Uni Freiburg * Copyright (c) 2010,2011 - OpenSLX Project * * This program/file is free software distributed under the GPL version 2. * See http://openslx.org/COPYING * * If you have any feedback please consult http://openslx.org/feedback and * send your feedback to feedback@openslx.org * * General information about OpenSLX can be found under http://openslx.org */ #ifndef INTERFACECONFIGURATION_H_ #define INTERFACECONFIGURATION_H_ #include class interfaceconfiguration: public QObject { Q_OBJECT public: interfaceconfiguration(); interfaceconfiguration(const interfaceconfiguration &other); interfaceconfiguration &operator=(const interfaceconfiguration &other); virtual ~interfaceconfiguration(); bool readConfigOutOfFile(QString pathToConfig); QString getBroadcast(); QString getClientid(); QString getDhcpchaddr(); QString getDhcpsid(); QString getDnssearch(); QString getDnsservers(); QString getGateways(); QString getGateway(); QString getHostname(); QString getInterface(); QString getIpAddress(); QString getNetmask(); QString getNetwork(); QString getRoutes(); private: QString _tag; QString ipAddress; QString netmask; QString network; QString broadcast; QString routes; QString gateway; QString gateways; QString hostname; QString dnssearch; QString dnsservers; QString dhcpsid; QString interface; QString clientid; QString dhcpchaddr; }; #endif /* INTERFACECONFIGURATION_H_ */