Leaked source code of windows server 2003
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.

40 lines
731 B

  1. /*
  2. * REVISIONS:
  3. * djs08May96 Created
  4. */
  5. #ifndef __CHGSENSOR_H
  6. #define __CHGSENSOR_H
  7. #include "stsensor.h"
  8. #include "isa.h"
  9. _CLASSDEF(ChangeSensor)
  10. class ChangeSensor : public StateSensor {
  11. protected:
  12. public:
  13. ChangeSensor(PDevice aParent,
  14. PCommController aCommController,
  15. INT aSensorCode = NO_SENSOR_CODE,
  16. INT anUpperEventCode = NO_CODE,
  17. INT aLowerEventCode = NO_CODE,
  18. ACCESSTYPE anACCESSTYPE = AREAD_ONLY);
  19. //overidden interfaces
  20. virtual INT Validate(INT, const PCHAR);
  21. private:
  22. INT theUpperEventCode;
  23. INT theLowerEventCode;
  24. INT theValidationCheckingEnabled;
  25. };
  26. #endif