BatteryMeter.h 448 B

1234567891011121314151617181920212223
  1. #ifndef HEADER_BatteryMeter
  2. #define HEADER_BatteryMeter
  3. /*
  4. htop - BatteryMeter.h
  5. (C) 2004-2011 Hisham H. Muhammad
  6. Released under the GNU GPLv2+, see the COPYING file
  7. in the source distribution for its full text.
  8. This meter written by Ian P. Hands (iphands@gmail.com, ihands@redhat.com).
  9. */
  10. #include "Meter.h"
  11. typedef enum ACPresence_ {
  12. AC_ABSENT,
  13. AC_PRESENT,
  14. AC_ERROR
  15. } ACPresence;
  16. extern const MeterClass BatteryMeter_class;
  17. #endif