summaryrefslogblamecommitdiffstats
path: root/LogReceiver/interfaceconfiguration.h
blob: 3b0a14d722518fb9713375297f1acedd60a7ce0f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                              


                                                                               



































                                                       
/*
 * interfaceconfiguration.h
 *
 *  Created on: Sep 2, 2011
 *      Author: niklas
 */

#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 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_ */