2009-06-02 19:29:22 +00:00
|
|
|
#ifndef HEADER_BatteryMeter
|
|
|
|
#define HEADER_BatteryMeter
|
|
|
|
/*
|
2011-12-26 21:35:57 +00:00
|
|
|
htop - BatteryMeter.h
|
|
|
|
(C) 2004-2011 Hisham H. Muhammad
|
2020-10-05 07:51:32 +00:00
|
|
|
Released under the GNU GPLv2, see the COPYING file
|
2011-12-26 21:35:57 +00:00
|
|
|
in the source distribution for its full text.
|
2009-06-02 19:29:22 +00:00
|
|
|
|
2011-12-26 21:35:57 +00:00
|
|
|
This meter written by Ian P. Hands (iphands@gmail.com, ihands@redhat.com).
|
2009-06-02 19:29:22 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "Meter.h"
|
|
|
|
|
2021-04-29 15:12:43 +00:00
|
|
|
|
2009-06-02 19:29:22 +00:00
|
|
|
typedef enum ACPresence_ {
|
|
|
|
AC_ABSENT,
|
|
|
|
AC_PRESENT,
|
|
|
|
AC_ERROR
|
|
|
|
} ACPresence;
|
|
|
|
|
2020-10-05 11:19:50 +00:00
|
|
|
extern const MeterClass BatteryMeter_class;
|
2009-06-02 19:29:22 +00:00
|
|
|
|
|
|
|
#endif
|