summaryrefslogtreecommitdiffstats
path: root/src/sources/batterysrc.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-03-31 02:45:14 -0500
committerTimothy Pearson <[email protected]>2013-03-31 02:45:14 -0500
commitbc8c073fb46ceeea6ab93a66f231563581871af3 (patch)
treea1df480082798094fd3fc7a4e31fca9a027e8cbf /src/sources/batterysrc.h
parentc2c9050abab88daaf3cfd32a9125e72e0bfaefaf (diff)
downloadkima-bc8c073fb46ceeea6ab93a66f231563581871af3.tar.gz
kima-bc8c073fb46ceeea6ab93a66f231563581871af3.zip
Use TDE hardware library instead of HAL
Remove spurious build files
Diffstat (limited to 'src/sources/batterysrc.h')
-rw-r--r--src/sources/batterysrc.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/sources/batterysrc.h b/src/sources/batterysrc.h
index ac64f2d..62c6828 100644
--- a/src/sources/batterysrc.h
+++ b/src/sources/batterysrc.h
@@ -25,7 +25,8 @@
#include <tqfile.h>
#include <tqstring.h>
#include <list>
-#include <hal/libhal.h>
+
+#include <tdehardwaredevices.h>
/**
* BatterySrc fetches the state of charge of the battery from HAL
@@ -40,7 +41,7 @@ public:
*/
BatterySrc(TQWidget* inParent, TQString inUDI);
virtual ~BatterySrc();
-
+
/**
* Creates instances of that Source (and returns pointers to them)
*/
@@ -60,18 +61,12 @@ private:
/**
* The hal udi of that battery source
- */
+ */
TQString mUDI;
/**
- * The local hal context
- */
- LibHalContext* mLibHalContext;
-
- /**
- * The local dbus error object
- */
- DBusError mDBusError;
-
+ * The internal hardware library object
+ */
+ TDEHardwareDevices* mHardwareDevices;
};
#endif //BATTERYSRC_H