Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=62020326bdb7498063097a34527dad4e602d62bc
commit 62020326bdb7498063097a34527dad4e602d62bc Author: James Buren <[email protected]> Date: Sat Aug 18 21:54:56 2012 -0500 new partition type for GPT diff --git a/GptPartition.hh b/GptPartition.hh new file mode 100644 index 0000000..070ae37 --- /dev/null +++ b/GptPartition.hh @@ -0,0 +1,26 @@ +#pragma once + +#include "Partition.hh" + +class GptPartition : public Partition +{ + +public: + GptPartition() { _gpt_flags = 0; } + ~GptPartition() {} + void setType(const string &type) { _gpt_type = type; } + void setName(const string &name) { _gpt_name = name; } + void setUUID(const string &uuid) { _gpt_uuid = uuid; } + void setFlags(unsigned long long flags) { _gpt_flags = flags; } + string getType() { return _gpt_type; } + string getName() { return _gpt_name; } + string getUUID() { return _gpt_uuid; } + unsigned long long getFlags() { return _gpt_flags; } + +protected: + string _gpt_type; + string _gpt_name; + string _gpt_uuid; + unsigned long long _gpt_flags; + +}; \ No newline at end of file _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
