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

bool K3bDevice::Device::isOpen (  )  const

Returns:
true if the device was successfully opened via open()

Definition at line 1586 of file k3bdevice.cpp.

Referenced by discSize(), diskInfo(), getDataMode(), getIndex(), indexScan(), isEmpty(), readCdText(), readRawToc(), and readToc().

{
#ifdef Q_OS_FREEBSD
  return d->cam;
#endif
#ifdef Q_OS_LINUX
  return ( d->deviceFd != -1 );
#endif
}


Generated by  Doxygen 1.6.0   Back to index