diff options
Diffstat (limited to 'src/hardware_battery.h')
-rw-r--r-- | src/hardware_battery.h | 18 |
1 files changed, 1 insertions, 17 deletions
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 <config.h> -#endif - // QT - Header #include <tqstring.h> #include <tqstringlist.h> @@ -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 |