diff options
author | Aleksandar Donchev <Aleksander.Donchev@partner.bmw.de> | 2015-08-21 14:28:58 +0200 |
---|---|---|
committer | Christian Linke <Christian.Linke@bmw.de> | 2015-09-07 12:55:33 +0200 |
commit | ad8e89a7331340d1215cfec30032931f2f9d85a7 (patch) | |
tree | 9f92dd9dfe4c99ff413a98ac1b93b3f7697e3f63 /AudioManagerUtilities/src | |
parent | 4d3b532826eb4f86127499f1b29f9a5307c661d9 (diff) | |
download | audiomanager-ad8e89a7331340d1215cfec30032931f2f9d85a7.tar.gz |
* FindDBus.cmake excluded from project and replaced throught pkg_check_module.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerUtilities/src')
-rw-r--r-- | AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp b/AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp index 2e539d3..8412a71 100644 --- a/AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp +++ b/AudioManagerUtilities/src/CAmCommonAPIWrapper.cpp @@ -62,11 +62,12 @@ CAmCommonAPIWrapper::CAmCommonAPIWrapper(CAmSocketHandler* socketHandler): #if COMMONAPI_VERSION_NUMBER < 300 mRuntime = CommonAPI::Runtime::load(); #else + CommonAPI::Runtime::setProperty("LogContext", "AMCAPI"); mRuntime = CommonAPI::Runtime::get(); #endif assert(NULL!=mRuntime); -//Create the context + //Create the context mContext = std::make_shared<CommonAPI::MainLoopContext>(); assert(NULL!=mContext); @@ -74,6 +75,7 @@ CAmCommonAPIWrapper::CAmCommonAPIWrapper(CAmSocketHandler* socketHandler): mFactory = runtime->createFactory(mContext); assert(mFactory); #else + logInfo("CommonAPI runtime has been loaded! Default Binding is", mRuntime->getDefaultBinding()); #if COMMONAPI_USED_BINDING > 0 mFactory = CommonAPI::SomeIP::Factory::get(); assert(mFactory); |