summaryrefslogtreecommitdiff
path: root/libsi/descriptor.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-06-15 21:29:03 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-06-15 21:29:03 +0200
commitb2812b7e71b4b5ef038045f48a5697a4dd063192 (patch)
tree45c010b361471355f873974cb60960f64d7906d8 /libsi/descriptor.h
parent263dc295089a2accc385c87c23b177314d65acea (diff)
downloadvdr-b2812b7e71b4b5ef038045f48a5697a4dd063192.tar.gz
vdr-b2812b7e71b4b5ef038045f48a5697a4dd063192.tar.bz2
Added support for "content identifier descriptor" and "default authority descriptor" to 'libsi'
Diffstat (limited to 'libsi/descriptor.h')
-rw-r--r--libsi/descriptor.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/libsi/descriptor.h b/libsi/descriptor.h
index 4f2e41b6..f105f7a0 100644
--- a/libsi/descriptor.h
+++ b/libsi/descriptor.h
@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: descriptor.h 2.1 2010/11/01 15:24:32 kls Exp $
+ * $Id: descriptor.h 2.2 2011/06/15 21:26:00 kls Exp $
* *
***************************************************************************/
@@ -361,6 +361,31 @@ protected:
virtual void Parse();
};
+class ContentIdentifierDescriptor : public Descriptor {
+public:
+ class Identifier : public LoopElement {
+ public:
+ String identifier;
+ int getCridType() const;
+ int getCridLocation() const;
+ virtual int getLength() { return sizeof(content_identifier_entry)+identifier.getLength(); }
+ protected:
+ virtual void Parse();
+ private:
+ const content_identifier_entry *s;
+ };
+ StructureLoop<Identifier> identifierLoop;
+protected:
+ virtual void Parse();
+};
+
+class DefaultAuthorityDescriptor : public Descriptor {
+public:
+ String DefaultAuthority; //ID
+protected:
+ virtual void Parse();
+};
+
//abstract base class
class MultilingualNameDescriptor : public Descriptor {
public: