Some changes, renaming...
[profile/ivi/audiomanager.git] / AudioManagerDaemon / src / ControlSender.cpp
1 /*
2  * ControlLoader.cpp
3  *
4  *  Created on: Oct 25, 2011
5  *      Author: christian
6  */
7
8 #include "ControlSender.h"
9 #include "pluginTemplate.h"
10 #include <string>
11
12 ControlSender::ControlSender()
13 {
14         ControlSendInterface* (*createFunc)();
15         std::string libPath="/home/christian/workspace/gitserver/build/plugins/control/libPluginControlInterface.so";
16         createFunc = getCreateFunction<ControlSendInterface*()>(libPath);
17
18         if (!createFunc) {
19                 //DLT_LOG(AudioManager,DLT_LOG_INFO, DLT_STRING("Entry point of Communicator not found"));
20         }
21
22         //mControler = createFunc();
23
24         if (!mControler) {
25                 //DLT_LOG(AudioManager,DLT_LOG_INFO, DLT_STRING("RoutingPlugin initialization failed. Entry Function not callable"));
26         }
27
28 }
29
30
31
32 ControlSender::~ControlSender()
33 {
34 }
35
36
37
38 ControlSendInterface *ControlSender::returnControl()
39 {
40         return mControler;
41 }
42