Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=56280efb2b2ce9907152c30b446c47031c3f78a6
commit 56280efb2b2ce9907152c30b446c47031c3f78a6 Author: James Buren <[email protected]> Date: Sat Aug 25 13:21:49 2012 -0500 add function for retrieving partition table size diff --git a/PartitionTable.hh b/PartitionTable.hh index 9876923..83cc60c 100644 --- a/PartitionTable.hh +++ b/PartitionTable.hh @@ -14,6 +14,7 @@ public: virtual bool read(const string &path) { return true; } virtual bool write(const string &path) { return true; } string getLabelType() { return _label; } + size_t getTableSize() { return _table.size(); } virtual unsigned long long getNumber(unsigned long long n) { return 0; } virtual unsigned long long getStart(unsigned long long n) { return 0; } virtual unsigned long long getEnd(unsigned long long n) { return 0; } _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
