Set partitionTable Last/First sector setter as public.

This commit is contained in:
Chantara Tith 2016-08-08 04:53:39 +07:00 committed by Andrius Štikonas
parent 53b154fe16
commit 467759d0a9
1 changed files with 7 additions and 6 deletions

View File

@ -152,6 +152,13 @@ public:
return m_LastUsable;
}
void setFirstUsableSector(qint64 s) {
m_FirstUsable = s;
}
void setLastUsableSector(qint64 s) {
m_LastUsable = s;
}
void updateUnallocated(const Device& d);
void insertUnallocated(const Device& d, PartitionNode* p, qint64 start) const;
@ -179,12 +186,6 @@ protected:
void setMaxPrimaries(qint32 n) {
m_MaxPrimaries = n;
}
void setFirstUsableSector(qint64 s) {
m_FirstUsable = s;
}
void setLastUsableSector(qint64 s) {
m_LastUsable = s;
}
private:
Partitions m_Children;