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