summaryrefslogtreecommitdiff
authorbenmeyer <benmeyer>2003-01-13 19:07:40 (UTC)
committer benmeyer <benmeyer>2003-01-13 19:07:40 (UTC)
commitb5e3438b22606a00e17afd14674aa685739237c1 (patch) (side-by-side diff)
tree4359f55ade82e06316b3b496db82fbafbdf29a15
parent4cd81644fb2ac8cd91e4dd79c2274656f5bfe81a (diff)
downloadopie-b5e3438b22606a00e17afd14674aa685739237c1.zip
opie-b5e3438b22606a00e17afd14674aa685739237c1.tar.gz
opie-b5e3438b22606a00e17afd14674aa685739237c1.tar.bz2
test
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/interfaces/interface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/interfaces/interface.cpp b/noncore/settings/networksettings/interfaces/interface.cpp
index 3af521c..864d9b5 100644
--- a/noncore/settings/networksettings/interfaces/interface.cpp
+++ b/noncore/settings/networksettings/interfaces/interface.cpp
@@ -1,32 +1,34 @@
+$Header$
+
/**
* $Author$
* $Date$
* $Name$
*/
#include "interface.h"
#include <qdatetime.h>
#include <qfile.h>
#include <qdir.h>
#include <qfileinfo.h>
#include <qtextstream.h>
#define IFCONFIG "/sbin/ifconfig"
#define DHCP_INFO_DIR "/etc/dhcpc"
#include <stdio.h>
#include <stdlib.h>
Interface::Interface(QObject * parent, const char * name, bool newSatus): QObject(parent, name), hardwareName("Unknown"), moduleOwner(NULL), status(newSatus), attached(false), dhcp(false), macAddress(""), ip("0.0.0.0"), broadcast(""), subnetMask("0.0.0.0"){
refresh();
}
/**
* Set status
* @param newStatus - the new status
* emit updateInterface
*/
void Interface::setStatus(bool newStatus){
if(status != newStatus){
status = newStatus;
refresh();