diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-04-15 10:50:59 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-04-15 10:50:59 +0200 |
commit | 97cbd6234058ce1514b5696609ee7bd1f8e6a761 (patch) | |
tree | 245cd0ccac28f6c1670da3223bcaf269cc8f8028 /src/MuxElements.h | |
parent | d4ab701073e4876aa3d2e5f6c883cebf08783ac4 (diff) | |
download | dabmux-97cbd6234058ce1514b5696609ee7bd1f8e6a761.tar.gz dabmux-97cbd6234058ce1514b5696609ee7bd1f8e6a761.tar.bz2 dabmux-97cbd6234058ce1514b5696609ee7bd1f8e6a761.zip |
Replace DabService::program by function
Diffstat (limited to 'src/MuxElements.h')
-rw-r--r-- | src/MuxElements.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<dabSubchannel*>& subchannels); + bool isPacketComponent(std::vector<dabSubchannel*>& 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<uint8_t> clusters; - subchannel_type_t getType(std::shared_ptr<dabEnsemble> ensemble); - unsigned char nbComponent(std::vector<DabComponent*>& components); + subchannel_type_t getType(std::shared_ptr<dabEnsemble> ensemble) const; + bool isProgramme(std::shared_ptr<dabEnsemble> ensemble) const; + unsigned char nbComponent(std::vector<DabComponent*>& components) const; DabLabel label; |