summaryrefslogtreecommitdiffstats
path: root/kmix/mixer_backend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/mixer_backend.cpp')
-rw-r--r--kmix/mixer_backend.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/kmix/mixer_backend.cpp b/kmix/mixer_backend.cpp
index bc213fc4..0ad262b7 100644
--- a/kmix/mixer_backend.cpp
+++ b/kmix/mixer_backend.cpp
@@ -145,3 +145,28 @@ QString Mixer_Backend::errorText(int mixer_error)
return l_s_errmsg;
}
+
+DevIterator::DevIterator()
+{
+ N = 0;
+ NMax = 19;
+}
+
+void DevIterator::next()
+{
+ N++;
+}
+
+int DevIterator::getdev()
+{
+ return N;
+}
+
+bool DevIterator::end()
+{
+ return N > NMax;
+}
+
+DevIterator::~DevIterator()
+{
+}