From 7a0054abbd50149874823cae3f234b00fd87ca70 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 11 May 2003 09:01:51 +0200 Subject: Implemented cDevice::ActualDevice() --- PLUGINS.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'PLUGINS.html') diff --git a/PLUGINS.html b/PLUGINS.html index 4a2571c6..bd1a0d0f 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -1200,9 +1200,16 @@ a cDevice:


cMyReceiver *Receiver = new cMyReceiver(123); -cDevice::PrimaryDevice()->AttachReceiver(Receiver); +
  +cDevice::ActualDevice()->AttachReceiver(Receiver); +

+Noteh the use of cDevice::ActualDevice() here, which makes sure that +the receiver is attached to the device that actually receives the current live +video stream (this may be different from the primary device in case of Transfer +Mode). +

If the cReceiver isn't needed any more, it may simply be deleted and will automatically detach itself from the cDevice. -- cgit v1.2.3