fix the build. how could we miss this for so long?

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1330608
This commit is contained in:
Volker Lanz 2013-01-03 14:09:07 +00:00
parent 084c604c3c
commit 786c30fcf2
2 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
* Copyright (C) 2010 by Volker Lanz <vl@fidra.de * * Copyright (C) 2010, 2012 by Volker Lanz <vl@fidra.de *
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
@ -119,3 +119,11 @@ FileSystem::Type DummyPartitionTable::detectFileSystemBySector(Report& report, c
FileSystem::Type rval = FileSystem::Unknown; FileSystem::Type rval = FileSystem::Unknown;
return rval; return rval;
} }
bool DummyPartitionTable::setPartitionSystemType(Report& report, const Partition& partition)
{
Q_UNUSED(report);
Q_UNUSED(partition);
return true;
}

View File

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
* Copyright (C) 2010 by Volker Lanz <vl@fidra.de * * Copyright (C) 2010, 2012 by Volker Lanz <vl@fidra.de *
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
@ -51,6 +51,7 @@ class DummyPartitionTable : public CoreBackendPartitionTable
virtual bool clobberFileSystem(Report& report, const Partition& partition); virtual bool clobberFileSystem(Report& report, const Partition& partition);
virtual bool resizeFileSystem(Report& report, const Partition& partition, qint64 newLength); virtual bool resizeFileSystem(Report& report, const Partition& partition, qint64 newLength);
virtual FileSystem::Type detectFileSystemBySector(Report& report, const Device& device, qint64 sector); virtual FileSystem::Type detectFileSystemBySector(Report& report, const Device& device, qint64 sector);
virtual bool setPartitionSystemType(Report& report, const Partition& partition);
}; };
#endif #endif