diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-14 15:46:54 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-14 15:46:54 +0100 |
commit | d6923be4bd2e198b4cba161e8040072128bd392c (patch) | |
tree | cf3e74d4685075b4836141c48a71507666074781 /src/utils.cpp | |
parent | 77d77e5f4d60ed9d1f8346910f42fe2d61122f22 (diff) | |
download | dabmux-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.cpp | 6 |
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); |