michael@0: // 7zMethodID.h michael@0: michael@0: #ifndef __7Z_METHOD_ID_H michael@0: #define __7Z_METHOD_ID_H michael@0: michael@0: #include "../../../Common/String.h" michael@0: #include "../../../Common/Types.h" michael@0: michael@0: namespace NArchive { michael@0: namespace N7z { michael@0: michael@0: const int kMethodIDSize = 15; michael@0: michael@0: struct CMethodID michael@0: { michael@0: Byte ID[kMethodIDSize]; michael@0: Byte IDSize; michael@0: UString ConvertToString() const; michael@0: bool ConvertFromString(const UString &srcString); michael@0: }; michael@0: michael@0: bool operator==(const CMethodID &a1, const CMethodID &a2); michael@0: michael@0: inline bool operator!=(const CMethodID &a1, const CMethodID &a2) michael@0: { return !(a1 == a2); } michael@0: michael@0: }} michael@0: michael@0: #endif