summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/uptimesensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/uptimesensor.h')
-rw-r--r--superkaramba/src/uptimesensor.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/superkaramba/src/uptimesensor.h b/superkaramba/src/uptimesensor.h
new file mode 100644
index 0000000..061a876
--- /dev/null
+++ b/superkaramba/src/uptimesensor.h
@@ -0,0 +1,30 @@
+/***************************************************************************
+ * Copyright (C) 2003 by Hans Karlsson *
+ * karlsson.h@home.se *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ ***************************************************************************/
+#ifndef UPTIMESENSOR_H
+#define UPTIMESENSOR_H
+#include "sensor.h"
+
+#include <qfile.h>
+#include <qtextstream.h>
+#include <qstring.h>
+#include <qregexp.h>
+#include <qdatetime.h>
+
+class UptimeSensor : public Sensor
+{
+
+public:
+ UptimeSensor(int interval);
+ ~UptimeSensor();
+ void update();
+
+};
+
+#endif // UPTIMESENSOR_H