00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Hans Karlsson * 00003 * karlsson.h@home.se * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 ***************************************************************************/ 00010 #ifndef UPTIMESENSOR_H 00011 #define UPTIMESENSOR_H 00012 #include "sensor.h" 00013 00014 #include <qfile.h> 00015 #include <qtextstream.h> 00016 #include <qstring.h> 00017 #include <qregexp.h> 00018 #include <qdatetime.h> 00019 00020 class UptimeSensor : public Sensor 00021 { 00022 00023 public: 00024 UptimeSensor(int interval); 00025 ~UptimeSensor(); 00026 void update(); 00027 00028 }; 00029 00030 #endif // UPTIMESENSOR_H