Commit 62ede6b1 authored by Brendan Long's avatar Brendan Long

Add some logging when unimplemented functions get called.

parent a03bcb29
......@@ -124,6 +124,7 @@ ConfigManager::ConnectToAllJoyn()
QStatus
ConfigManager::BuildServiceName()
{
DSBLOG_NOT_IMPLEMENTED();
return ER_NOT_IMPLEMENTED;
}
......
......@@ -95,6 +95,7 @@ QStatus
bridge::DeviceMain::CreateMethodsAndSignals()
{
// TODO
DSBLOG_NOT_IMPLEMENTED();
return ER_NOT_IMPLEMENTED;
}
......
#include "DeviceMethod.h"
#include "Common/Log.h"
namespace
{
DSB_DECLARE_LOGNAME(DeviceMethod);
}
bridge::DeviceMethod::DeviceMethod(DeviceMain& dev)
: m_parent(dev)
{
......@@ -18,18 +25,21 @@ bridge::DeviceMethod::InvokeMethod(ajn::Message const&, ajn::MsgArg*, size_t)
QStatus
bridge::DeviceMethod::Initialize(shared_ptr<IAdapterMethod> const&)
{
DSBLOG_NOT_IMPLEMENTED();
return ER_NOT_IMPLEMENTED;
}
QStatus
bridge::DeviceMethod::SetName(std::string const&)
{
DSBLOG_NOT_IMPLEMENTED();
return ER_NOT_IMPLEMENTED;
}
QStatus
bridge::DeviceMethod::BuildSignature(AdapterValueVector const&, std::string&, std::string&)
{
DSBLOG_NOT_IMPLEMENTED();
return ER_NOT_IMPLEMENTED;
}
......@@ -52,3 +52,5 @@ namespace common
#define DSBLOG_WARN(FORMAT, ...) DSBLOG(DSB_LOGLEVEL_WARN, __dsb_logger_module_name__, FORMAT, ##__VA_ARGS__)
#define DSBLOG_ERROR(FORMAT, ...) DSBLOG(DSB_LOGLEVEL_ERROR, __dsb_logger_module_name__, FORMAT, ##__VA_ARGS__)
#define DSBLOG_NOT_IMPLEMENTED() DSBLOG_WARN("%s has not been implemented", __func__);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment