summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-01 13:07:50 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-01 13:07:50 +0200
commit09430fc4ffa8dfb3ba73163d848e066fab74136f (patch)
tree702d94874685c34f1a3582e0e4f58478c6c9a59c /src/MuxElements.h
parent665989a46f97a90c1c601514caeaf0f079da0275 (diff)
downloaddabmux-09430fc4ffa8dfb3ba73163d848e066fab74136f.tar.gz
dabmux-09430fc4ffa8dfb3ba73163d848e066fab74136f.tar.bz2
dabmux-09430fc4ffa8dfb3ba73163d848e066fab74136f.zip
Remove old carousel
Diffstat (limited to 'src/MuxElements.h')
-rw-r--r--src/MuxElements.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/MuxElements.h b/src/MuxElements.h
index 97b1390..44af574 100644
--- a/src/MuxElements.h
+++ b/src/MuxElements.h
@@ -32,6 +32,7 @@
#include <memory>
#include <string>
#include <functional>
+#include <exception>
#include <algorithm>
#include <stdint.h>
#include "dabOutput/dabOutput.h"
@@ -39,6 +40,19 @@
#include "RemoteControl.h"
#include "Eti.h"
+class MuxInitException : public std::exception
+{
+ public:
+ MuxInitException(const std::string m = "ODR-DabMux initialisation error")
+ throw()
+ : msg(m) {}
+ ~MuxInitException(void) throw() {}
+ const char* what() const throw() { return msg.c_str(); }
+ private:
+ std::string msg;
+};
+
+
enum class subchannel_type_t {
Audio = 0,
DataDmb = 1,