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.

36 lines
562 B

  1. /*
  2. *
  3. * NOTES:
  4. *
  5. * REVISIONS:
  6. * xxxddMMMyy
  7. *
  8. */
  9. #ifndef __TURNOFF_H
  10. #define __TURNOFF_H
  11. #include "sensor.h"
  12. #include "event.h"
  13. _CLASSDEF(TurnOffUpsOnBatterySensor)
  14. class TurnOffUpsOnBatterySensor : public Sensor {
  15. protected:
  16. INT AutoRebootEnabled;
  17. public:
  18. TurnOffUpsOnBatterySensor(PDevice aParent, PCommController aCommController);
  19. //overidden interfaces
  20. virtual INT IsA() const { return TURNOFFUPSONBATTERYSENSOR; };
  21. virtual INT Get(INT, PCHAR);
  22. virtual INT Set(INT, const PCHAR);
  23. //Additional Interfaces
  24. };
  25. #endif