summaryrefslogtreecommitdiffstats
path: root/src/utils.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 15:46:54 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 15:46:54 +0100
commitd6923be4bd2e198b4cba161e8040072128bd392c (patch)
treecf3e74d4685075b4836141c48a71507666074781 /src/utils.cpp
parent77d77e5f4d60ed9d1f8346910f42fe2d61122f22 (diff)
downloaddabmux-d6923be4bd2e198b4cba161e8040072128bd392c.tar.gz
dabmux-d6923be4bd2e198b4cba161e8040072128bd392c.tar.bz2
dabmux-d6923be4bd2e198b4cba161e8040072128bd392c.zip
make DabComponent a class and make its label RC controllable
Diffstat (limited to 'src/utils.cpp')
-rw-r--r--src/utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index 157c3a7..deefa81 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -322,9 +322,9 @@ void printServices(vector<DabService*>& services)
}
}
-void printComponents(vector<dabComponent*>& components)
+void printComponents(vector<DabComponent*>& components)
{
- vector<dabComponent*>::const_iterator current;
+ vector<DabComponent*>::const_iterator current;
unsigned int index = 0;
for (current = components.begin(); current != components.end(); ++current) {
@@ -334,7 +334,7 @@ void printComponents(vector<dabComponent*>& components)
}
}
-void printComponent(dabComponent* component)
+void printComponent(DabComponent* component)
{
char label[17];
memcpy(label, component->label.text(), 16);