diff options
author | Sebastian Schmelzer | 2011-12-01 12:32:58 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2011-12-01 12:32:58 +0100 |
commit | fd0d62cc9aebb48fae6d98c6edfe2580b42327da (patch) | |
tree | 2352311d0c3254ef34c73f55624462bcc79bfab7 /src/fbgui/interfaceconfiguration.h | |
parent | minor changes (diff) | |
parent | den pfad zur common header file angepasst (diff) | |
download | fbgui-fd0d62cc9aebb48fae6d98c6edfe2580b42327da.tar.gz fbgui-fd0d62cc9aebb48fae6d98c6edfe2580b42327da.tar.xz fbgui-fd0d62cc9aebb48fae6d98c6edfe2580b42327da.zip |
merge with master-team-project
Diffstat (limited to 'src/fbgui/interfaceconfiguration.h')
-rw-r--r-- | src/fbgui/interfaceconfiguration.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/src/fbgui/interfaceconfiguration.h b/src/fbgui/interfaceconfiguration.h new file mode 100644 index 0000000..475f689 --- /dev/null +++ b/src/fbgui/interfaceconfiguration.h @@ -0,0 +1,66 @@ +/** + * 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 <QtCore> + +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_ */ |