From 97cbd6234058ce1514b5696609ee7bd1f8e6a761 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 15 Apr 2016 10:50:59 +0200 Subject: Replace DabService::program by function --- src/MuxElements.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/MuxElements.h') diff --git a/src/MuxElements.h b/src/MuxElements.h index 44af574..f8e60b1 100644 --- a/src/MuxElements.h +++ b/src/MuxElements.h @@ -331,7 +331,7 @@ class DabComponent : public RemoteControllable dabFidcComponent fidc; dabPacketComponent packet; - bool isPacketComponent(std::vector& subchannels); + bool isPacketComponent(std::vector& subchannels) const; /* Remote control */ virtual void set_parameter(const std::string& parameter, @@ -365,7 +365,6 @@ class DabService : public RemoteControllable uint32_t id; unsigned char pty; unsigned char language; - bool program; /* ASu (Announcement support) flags: this 16-bit flag field shall * specify the type(s) of announcements by which it is possible to @@ -375,8 +374,9 @@ class DabService : public RemoteControllable uint16_t ASu; std::vector clusters; - subchannel_type_t getType(std::shared_ptr ensemble); - unsigned char nbComponent(std::vector& components); + subchannel_type_t getType(std::shared_ptr ensemble) const; + bool isProgramme(std::shared_ptr ensemble) const; + unsigned char nbComponent(std::vector& components) const; DabLabel label; -- cgit v1.2.3