[matroska] r1113 - trunk/libmatroska/matroska

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2005-03-28 18:49:40 +0400 (Mon, 28 Mar 2005)
New Revision: 1113

Modified:
   trunk/libmatroska/matroska/KaxInfoData.h
Log:
libmatroska: make all segment UID derive from the same class for easier handling

Modified: trunk/libmatroska/matroska/KaxInfoData.h
===================================================================
--- trunk/libmatroska/matroska/KaxInfoData.h	2005-03-28 09:55:50 UTC (rev 1112)
+++ trunk/libmatroska/matroska/KaxInfoData.h	2005-03-28 14:49:40 UTC (rev 1113)
@@ -72,10 +72,10 @@
 		EbmlElement * Clone() const {return new KaxSegmentFilename(*this);}
 };
 
-class MATROSKA_DLL_API KaxPrevUID : public EbmlBinary {
+class MATROSKA_DLL_API KaxPrevUID : public KaxSegmentUID {
 	public:
 		KaxPrevUID() {}
-		KaxPrevUID(const KaxPrevUID & ElementToClone) :EbmlBinary(ElementToClone){}
+		KaxPrevUID(const KaxPrevUID & ElementToClone) :KaxSegmentUID(ElementToClone){}
 		static EbmlElement & Create() {return *(new KaxPrevUID);}
 		bool ValidateSize() const { return (Size == 16);}
 		const EbmlCallbacks & Generic() const {return ClassInfos;}
@@ -95,10 +95,10 @@
 		EbmlElement * Clone() const {return new KaxPrevFilename(*this);}
 };
 
-class MATROSKA_DLL_API KaxNextUID : public EbmlBinary {
+class MATROSKA_DLL_API KaxNextUID : public KaxSegmentUID {
 	public:
 		KaxNextUID() {}
-		KaxNextUID(const KaxNextUID & ElementToClone) :EbmlBinary(ElementToClone){}
+		KaxNextUID(const KaxNextUID & ElementToClone) :KaxSegmentUID(ElementToClone){}
 		static EbmlElement & Create() {return *(new KaxNextUID);}
 		bool ValidateSize() const { return (Size == 16);}
 		const EbmlCallbacks & Generic() const {return ClassInfos;}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.