summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/ControlSender.cpp
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2012-01-30 18:38:07 +0100
committerchristian mueller <christian.ei.mueller@bmw.de>2012-01-31 17:40:32 +0100
commitad0c452e9890a35a1b7a6c2e2421e092c5cf2c2d (patch)
tree48cc38fa0a4ada0ece0f8571260c5438b64a675c /AudioManagerDaemon/src/ControlSender.cpp
parent58d62c4af578c10375bf9baa946e33f340c42a1f (diff)
downloadaudiomanager-ad0c452e9890a35a1b7a6c2e2421e092c5cf2c2d.tar.gz
* wrapping DLT calls in a new Class because of performance, codesize and lazyness reasons
* the whole project now compiles without a warning with -pedantic
Diffstat (limited to 'AudioManagerDaemon/src/ControlSender.cpp')
-rw-r--r--AudioManagerDaemon/src/ControlSender.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/AudioManagerDaemon/src/ControlSender.cpp b/AudioManagerDaemon/src/ControlSender.cpp
index ca7ce3a..934f594 100644
--- a/AudioManagerDaemon/src/ControlSender.cpp
+++ b/AudioManagerDaemon/src/ControlSender.cpp
@@ -23,12 +23,10 @@
*/
#include "ControlSender.h"
+#include "PluginTemplate.h"
+#include "DLTWrapper.h"
#include <assert.h>
-#include <dlt/dlt.h>
#include <fstream>
-#include "PluginTemplate.h"
-
-DLT_IMPORT_CONTEXT(AudioManager)
using namespace am;
@@ -41,7 +39,7 @@ ControlSender::ControlSender(std::string controlPluginFile) :
std::ifstream isfile(controlPluginFile.c_str());
if (!isfile)
{
- DLT_LOG(AudioManager, DLT_LOG_ERROR, DLT_STRING("ControlSender::ControlSender: Controller plugin not found:"), DLT_STRING(controlPluginFile.c_str()));
+ logError("ControlSender::ControlSender: Controller plugin not found:",controlPluginFile);
}
else if (!controlPluginFile.empty())
{
@@ -55,7 +53,7 @@ ControlSender::ControlSender(std::string controlPluginFile) :
}
else
{
- DLT_LOG(AudioManager, DLT_LOG_ERROR, DLT_STRING("ControlSender::ControlSender: No controller loaded !"));
+ logError("ControlSender::ControlSender: No controller loaded !");
}
}