From 82f3f0b529ec1bb936141ae41b03f95c72ce573a Mon Sep 17 00:00:00 2001 From: srs5694 Date: Wed, 22 Sep 2010 10:50:24 -0400 Subject: Further refinements to GUID type code entry. --- parttypes.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'parttypes.h') diff --git a/parttypes.h b/parttypes.h index bff92c1..4d6e547 100644 --- a/parttypes.h +++ b/parttypes.h @@ -39,10 +39,12 @@ public: // Set up type information int AddType(uint16_t mbrType, const char * guidData, const char * name, int toDisplay = 1); + // New assignment operators.... + PartType & operator=(const string & orig); + PartType & operator=(const char * orig); + // Assignment operators based on base class.... GUIDData & operator=(const GUIDData & orig) {return GUIDData::operator=(orig);} - GUIDData & operator=(const string & orig) {return GUIDData::operator=(orig);} - GUIDData & operator=(const char * orig) {return GUIDData::operator=(orig);} // New data assignment PartType & operator=(uint16_t ID); // Use MBR type code times 0x0100 to assign GUID -- cgit v1.2.1