From 467759d0a9dae7f3f5d6d4916ae1521faf0906c5 Mon Sep 17 00:00:00 2001 From: Chantara Tith Date: Mon, 8 Aug 2016 04:53:39 +0700 Subject: [PATCH] Set partitionTable Last/First sector setter as public. --- src/core/partitiontable.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/core/partitiontable.h b/src/core/partitiontable.h index eb83c5c..938f7bf 100644 --- a/src/core/partitiontable.h +++ b/src/core/partitiontable.h @@ -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;