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.

32 lines
536 B

  1. /*
  2. *
  3. * REVISIONS:
  4. * pcy27Dec92: Parent is now an UpdateObj
  5. * pcy22Jan93: Destructor is in h file
  6. * pcy28Jan93: Removed netcons.h
  7. *
  8. */
  9. #include "cdefine.h"
  10. #include "_defs.h"
  11. #include "ups.h"
  12. #include "devctrl.h"
  13. #include "comctrl.h"
  14. #include "err.h"
  15. _CLASSDEF(DeviceController)
  16. _CLASSDEF(DeviceController)
  17. Ups::Ups(PUpdateObj aDeviceController, PCommController aCommController)
  18. : Device(aDeviceController, aCommController), theUpsState(0)
  19. {
  20. }
  21. INT Ups::Initialize()
  22. {
  23. registerForEvents();
  24. return ErrNO_ERROR;
  25. }