summaryrefslogtreecommitdiff
path: root/libsi/descriptor.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-12-10 15:51:35 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2011-12-10 15:51:35 +0100
commit76b6ae2cabc3806369f222ce4f8d95beb692a2f3 (patch)
tree3278c7151bdee33ff4b04ce76c7eea91d394b77b /libsi/descriptor.h
parent96160f91db58283c9be9dbfc02ea16fd4be4a028 (diff)
downloadvdr-76b6ae2cabc3806369f222ce4f8d95beb692a2f3.tar.gz
vdr-76b6ae2cabc3806369f222ce4f8d95beb692a2f3.tar.bz2
Added support for HbbTV to libsi
Diffstat (limited to 'libsi/descriptor.h')
-rw-r--r--libsi/descriptor.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/libsi/descriptor.h b/libsi/descriptor.h
index f105f7a0..bce6c9e9 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.2 2011/06/15 21:26:00 kls Exp $
+ * $Id: descriptor.h 2.3 2011/12/10 15:47:15 kls Exp $
* *
***************************************************************************/
@@ -639,17 +639,29 @@ protected:
class MHP_TransportProtocolDescriptor : public Descriptor {
public:
+ class UrlExtensionEntry : public LoopElement {
+ public:
+ virtual int getLength() { return sizeof(descr_url_extension_entry)+UrlExtension.getLength(); }
+ String UrlExtension;
+ protected:
+ virtual void Parse();
+ };
+
enum Protocol { ObjectCarousel = 0x01, IPviaDVB = 0x02, HTTPoverInteractionChannel = 0x03 };
int getProtocolId() const;
int getProtocolLabel() const;
bool isRemote() const;
int getComponentTag() const;
+ char *getUrlBase(char *buffer, int size);
+ StructureLoop<UrlExtensionEntry> UrlExtensionLoop;
+
protected:
virtual void Parse();
private:
const descr_transport_protocol *s;
bool remote;
int componentTag;
+ String UrlBase;
};
class MHP_DVBJApplicationDescriptor : public Descriptor {
@@ -685,6 +697,15 @@ private:
const descr_application_icons_descriptor_end *s;
};
+class MHP_SimpleApplicationLocationDescriptor : public Descriptor {
+public:
+ char *getLocation(char *buffer, int size);
+protected:
+ virtual void Parse();
+private:
+ String location;
+};
+
class RegistrationDescriptor : public Descriptor {
public:
int getFormatIdentifier() const;