Logo Search packages:      
Sourcecode: camstream version File versions  Download package

void CVideoDevice::LoadImage (  )  [private, slot]

stub for automated loading

This function tries to load an image; if that fails, it will emit an Error

Definition at line 525 of file VideoDevice.cc.

References Error(), and ReadImage().

{
   int e;

   e = ReadImage();
   if (e < 0) {
     qDebug("CVideoDevice::LoadImage() Error loading image; errorcode=%d\n", e);
     if (pImageTimer)
       pImageTimer->stop();
     if (pImageSocket)
       pImageSocket->setEnabled(FALSE);
     emit Error(e);
   }
} 


Generated by  Doxygen 1.6.0   Back to index