From 76b6ae2cabc3806369f222ce4f8d95beb692a2f3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 10 Dec 2011 15:51:35 +0100 Subject: Added support for HbbTV to libsi --- libsi/descriptor.h | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'libsi/descriptor.h') 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 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; -- cgit v1.2.3