summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/DatabaseObserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/src/DatabaseObserver.cpp')
-rw-r--r--AudioManagerDaemon/src/DatabaseObserver.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/AudioManagerDaemon/src/DatabaseObserver.cpp b/AudioManagerDaemon/src/DatabaseObserver.cpp
index f6b1930..63f3b02 100644
--- a/AudioManagerDaemon/src/DatabaseObserver.cpp
+++ b/AudioManagerDaemon/src/DatabaseObserver.cpp
@@ -23,9 +23,10 @@
*/
#include "DatabaseObserver.h"
-#include <assert.h>
#include "CommandSender.h"
#include "RoutingSender.h"
+#include "TelnetServer.h"
+#include <assert.h>
using namespace am;
@@ -37,6 +38,16 @@ DatabaseObserver::DatabaseObserver(CommandSender *iCommandSender, RoutingSender
assert(mRoutingSender!=0);
}
+DatabaseObserver::DatabaseObserver(CommandSender *iCommandSender, RoutingSender *iRoutingSender, TelnetServer *iTelnetServer)
+ :mCommandSender(iCommandSender),
+ mRoutingSender(iRoutingSender),
+ mTelnetServer(iTelnetServer)
+{
+ assert(mCommandSender!=0);
+ assert(mRoutingSender!=0);
+ assert(mTelnetServer!=0);
+}
+
DatabaseObserver::~DatabaseObserver() {
// TODO Auto-generated destructor stub
}
@@ -206,3 +217,6 @@ void DatabaseObserver::timingInformationChanged(const am_mainConnectionID_t main
+
+
+