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.

56 lines
913 B

  1. /*
  2. * djs05Jun96: Broke into two objects: firmmanager/firmrevsensor
  3. * tjg02Dec97: Changed darkstar to symmetra
  4. */
  5. #ifndef __FIRMSENS_H
  6. #define __FIRMSENS_H
  7. #include "_defs.h"
  8. #include "firmman.h"
  9. #if !defined( __SENSOR_H )
  10. #include "sensor.h"
  11. #endif
  12. //
  13. // Defines
  14. //
  15. _CLASSDEF(FirmwareRevSensor)
  16. //
  17. // Uses
  18. //
  19. _CLASSDEF(Device)
  20. _CLASSDEF(CommController)
  21. _CLASSDEF(DecimalFirmwareRevSensor)
  22. _CLASSDEF(FirmwareRevManager)
  23. _CLASSDEF(Sensor)
  24. class FirmwareRevSensor : public Sensor {
  25. protected:
  26. PDecimalFirmwareRevSensor theDecimalFirmwareRevSensor;
  27. PFirmwareRevManager theFirmwareRevManager;
  28. virtual INT IsXL();
  29. virtual INT IsSymmetra();
  30. public:
  31. FirmwareRevSensor(PDevice aParent, PCommController aCommController = NULL);
  32. virtual INT IsA() const { return FIRMWAREREVSENSOR; };
  33. virtual INT Get( INT code, PCHAR value );
  34. INT IsBackUpsPro();
  35. };
  36. #endif