From 4112c3b48633dac80afbe219fd9f4ee85b2be3d3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Feb 2022 23:22:23 +0900 Subject: Removed HAL dependant code. Signed-off-by: Michele Calgaro --- src/hardware_battery.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'src/hardware_battery.h') diff --git a/src/hardware_battery.h b/src/hardware_battery.h index 36bf68c..f250700 100644 --- a/src/hardware_battery.h +++ b/src/hardware_battery.h @@ -32,11 +32,6 @@ #ifndef _BATTERY_H_ #define _BATTERY_H_ -// Global Header -#ifdef HAVE_CONFIG_H -#include -#endif - // QT - Header #include #include @@ -282,16 +277,6 @@ public: //! reports the chargelevel in percent when battery goes to state critical int getCritLevel() const; - //writeable access to internals - //! Resets the current TDE hardware library udi used by the one given - /*! - * The given TQString will be (checked and) used as new TDE hardware library udi for the battery. - * But don't forget to do a recheck of the battery afterwards. - * \li returns TRUE: if reset was successfull - * \li returns FALSE: if reset couldn't be applied - */ - bool resetUdi(TQString); - //! sets the chargelevel in percent when battery should go into state warning void setWarnLevel(int _warn_level); //! sets the chargelevel in percent when battery should go into state low @@ -336,8 +321,7 @@ enum BAT_STATE { BAT_WARN, BAT_LOW, BAT_CRIT, - BAT_NORM, - BAT_HAL_ERROR + BAT_NORM }; #endif -- cgit v1.2.1