//------------------------------------------------------------------------- void CVCRControl::registerDevice(CDevice * const device) { unregisterDevice(); Device = device; }
//------------------------------------------------------------------------- CVCRControl::~CVCRControl() { unregisterDevice(); }
void registerDevice(Device* dev) { unregisterDevice(dev); //Bad things could have happened devices.push(dev); }