add move() stub
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1128924
This commit is contained in:
parent
046c9006e0
commit
c2f0ff7528
|
@ -116,6 +116,21 @@ bool FileSystem::resize(Report& report, const QString& deviceNode, qint64 newLen
|
|||
return true;
|
||||
}
|
||||
|
||||
/** Move a FileSystem to a new start sector
|
||||
@param report Report to write status information to
|
||||
@param deviceNode the device node for the Partition the FileSystem is on
|
||||
@param newLength the new start sector for the FileSystem
|
||||
@return true on success
|
||||
*/
|
||||
bool FileSystem::move(Report& report, const QString& deviceNode, qint64 newStartSector) const
|
||||
{
|
||||
Q_UNUSED(report);
|
||||
Q_UNUSED(deviceNode);
|
||||
Q_UNUSED(newStartSector);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/** Writes a label for the FileSystem to disk
|
||||
@param report Report to write status information to
|
||||
@param deviceNode the device node for the Partition the FileSystem is on
|
||||
|
|
|
@ -104,6 +104,7 @@ class FileSystem
|
|||
virtual QString readLabel(const QString& deviceNode) const;
|
||||
virtual bool create(Report& report, const QString& deviceNode) const;
|
||||
virtual bool resize(Report& report, const QString& deviceNode, qint64 newLength) const;
|
||||
virtual bool move(Report& report, const QString& deviceNode, qint64 newStartSector) const;
|
||||
virtual bool writeLabel(Report& report, const QString& deviceNode, const QString& newLabel);
|
||||
virtual bool copy(Report& report, const QString& targetDeviceNode, const QString& sourceDeviceNode) const;
|
||||
virtual bool backup(Report& report, const Device& sourceDevice, const QString& deviceNode, const QString& filename) const;
|
||||
|
|
Loading…
Reference in New Issue