windows-nt/Source/XPSP1/NT/ds/netapi/svcdlls/upssvc/apcsmart/ups.cxx

33 lines
536 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*
*
* REVISIONS:
* pcy27Dec92: Parent is now an UpdateObj
* pcy22Jan93: Destructor is in h file
* pcy28Jan93: Removed netcons.h
*
*/
#include "cdefine.h"
#include "_defs.h"
#include "ups.h"
#include "devctrl.h"
#include "comctrl.h"
#include "err.h"
_CLASSDEF(DeviceController)
_CLASSDEF(DeviceController)
Ups::Ups(PUpdateObj aDeviceController, PCommController aCommController)
: Device(aDeviceController, aCommController), theUpsState(0)
{
}
INT Ups::Initialize()
{
registerForEvents();
return ErrNO_ERROR;
}