From bcf4c69ca5fdd6489ca1c09890971fc8f647aa1b Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Thu, 23 Apr 2009 14:42:40 +0200 Subject: Added intercomm layer so plugins can send various information to the daemon. --- lib/CommLayer/CommLayerServer.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'lib/CommLayer/CommLayerServer.cpp') diff --git a/lib/CommLayer/CommLayerServer.cpp b/lib/CommLayer/CommLayerServer.cpp index 1ebae6d3..271f7539 100644 --- a/lib/CommLayer/CommLayerServer.cpp +++ b/lib/CommLayer/CommLayerServer.cpp @@ -1,30 +1,24 @@ #include "CommLayerServer.h" #include -CCommLayerServer::CCommLayerServer(CMiddleWare *pMW) +CCommLayerServer::CCommLayerServer() { - m_pMW = pMW; - std::cerr << "CCommLayerServer init.." << std::endl; } CCommLayerServer::~CCommLayerServer() { - std::cout << "CCommLayerServer::Cleaning up.." << std::endl; } void CCommLayerServer::Attach(CObserver *pObs) { - std::cerr << "CCommLayerServer::Attach" << std::endl; m_pObserver = pObs; } void CCommLayerServer::Detach(CObserver *pObs) { - std::cerr << "CCommLayerServer::Detach" << std::endl; m_pObserver = NULL; } void CCommLayerServer::Notify(const std::string& pMessage) { - std::cerr << "CCommLayerServer::Notify" << std::endl; if(m_pObserver) - m_pObserver->Update(pMessage); + m_pObserver->StatusUpdate(pMessage); } -- cgit