aboutsummaryrefslogtreecommitdiffstats
path: root/src/MuxElements.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-15 10:50:59 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-15 10:50:59 +0200
commit97cbd6234058ce1514b5696609ee7bd1f8e6a761 (patch)
tree245cd0ccac28f6c1670da3223bcaf269cc8f8028 /src/MuxElements.h
parentd4ab701073e4876aa3d2e5f6c883cebf08783ac4 (diff)
downloaddabmux-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.h8
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;