summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/ControlSender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/src/ControlSender.cpp')
-rw-r--r--AudioManagerDaemon/src/ControlSender.cpp42
1 files changed, 42 insertions, 0 deletions
diff --git a/AudioManagerDaemon/src/ControlSender.cpp b/AudioManagerDaemon/src/ControlSender.cpp
new file mode 100644
index 0000000..bd3787b
--- /dev/null
+++ b/AudioManagerDaemon/src/ControlSender.cpp
@@ -0,0 +1,42 @@
+/*
+ * ControlLoader.cpp
+ *
+ * Created on: Oct 25, 2011
+ * Author: christian
+ */
+
+#include "ControlSender.h"
+#include "pluginTemplate.h"
+#include <string>
+
+ControlSender::ControlSender()
+{
+ ControlSendInterface* (*createFunc)();
+ std::string libPath="/home/christian/workspace/gitserver/build/plugins/control/libPluginControlInterface.so";
+ createFunc = getCreateFunction<ControlSendInterface*()>(libPath);
+
+ if (!createFunc) {
+ //DLT_LOG(AudioManager,DLT_LOG_INFO, DLT_STRING("Entry point of Communicator not found"));
+ }
+
+ //mControler = createFunc();
+
+ if (!mControler) {
+ //DLT_LOG(AudioManager,DLT_LOG_INFO, DLT_STRING("RoutingPlugin initialization failed. Entry Function not callable"));
+ }
+
+}
+
+
+
+ControlSender::~ControlSender()
+{
+}
+
+
+
+ControlSendInterface *ControlSender::returnControl()
+{
+ return mControler;
+}
+