/*************************************************************************** * Copyright (C) 2010 by Volker Lanz open()) { delete ptable; ptable = NULL; } return ptable; } bool DummyDevice::createPartitionTable(Report& report, const PartitionTable& ptable) { Q_UNUSED(report); Q_UNUSED(ptable); return true; } bool DummyDevice::readSectors(void* buffer, qint64 offset, qint64 numSectors) { Q_UNUSED(buffer); Q_UNUSED(offset); Q_UNUSED(numSectors); if (!isExclusive()) return false; return true; } bool DummyDevice::writeSectors(void* buffer, qint64 offset, qint64 numSectors) { Q_UNUSED(buffer); Q_UNUSED(offset); Q_UNUSED(numSectors); if (!isExclusive()) return false; return true; }