Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
658 B

  1. /*
  2. *
  3. * NOTES:
  4. *
  5. * REVISIONS:
  6. * pcy27Aug93: Get rid of Update()
  7. * cad28Sep93: Made sure destructor(s) virtual
  8. * pcy08Apr94: Trim size, use static iterators, dead code removal
  9. * cgm12Apr96: Add destructor with unregister
  10. * djs02Jun97: Changed from sensor to a statesensor
  11. */
  12. #ifndef BADBATTS_H
  13. #define BADBATTS_H
  14. #include "stsensor.h"
  15. _CLASSDEF(NumberBadBatteriesSensor)
  16. class NumberBadBatteriesSensor : public StateSensor {
  17. public:
  18. NumberBadBatteriesSensor(PDevice aParent, PCommController aCommController = NULL);
  19. virtual ~NumberBadBatteriesSensor();
  20. virtual INT IsA() const { return NUMBERBADBATTERIESSENSOR; };
  21. };
  22. #endif