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.

32 lines
566 B

  1. /*
  2. *
  3. * REVISIONS:
  4. * ker02DEC92: Initial breakout of sensor classes into indiv files
  5. * pcy26Jan93: I'm a EepromSensor now
  6. *
  7. */
  8. #define INCL_BASE
  9. #define INCL_DOS
  10. #define INCL_NOPM
  11. #include "cdefine.h"
  12. extern "C" {
  13. #if (C_OS & C_OS2)
  14. #include <os2.h>
  15. #endif
  16. #include <stdlib.h>
  17. #include <stdio.h>
  18. #include <malloc.h>
  19. #include <string.h>
  20. }
  21. #include "upsidsen.h"
  22. UpsIdSensor :: UpsIdSensor(PDevice aParent, PCommController aCommController)
  23. : EepromSensor(aParent, aCommController, UPS_ID, AREAD_WRITE)
  24. {
  25. DeepGet();
  26. }