diff options
Diffstat (limited to 'libsi/descriptor.h')
-rw-r--r-- | libsi/descriptor.h | 23 |
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; |