diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-04-23 14:42:40 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-04-23 14:42:40 +0200 |
| commit | bcf4c69ca5fdd6489ca1c09890971fc8f647aa1b (patch) | |
| tree | e5fedc350ae9368faf77360ea4fb3c0f6d264210 /lib/CommLayer/CommLayerServer.cpp | |
| parent | 99047bce024f1d23c953649cf56ff67e754e44ef (diff) | |
| download | abrt-bcf4c69ca5fdd6489ca1c09890971fc8f647aa1b.tar.gz abrt-bcf4c69ca5fdd6489ca1c09890971fc8f647aa1b.tar.xz abrt-bcf4c69ca5fdd6489ca1c09890971fc8f647aa1b.zip | |
Added intercomm layer so plugins can send various information to the daemon.
Diffstat (limited to 'lib/CommLayer/CommLayerServer.cpp')
| -rw-r--r-- | lib/CommLayer/CommLayerServer.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/CommLayer/CommLayerServer.cpp b/lib/CommLayer/CommLayerServer.cpp index 1ebae6d..271f753 100644 --- a/lib/CommLayer/CommLayerServer.cpp +++ b/lib/CommLayer/CommLayerServer.cpp @@ -1,30 +1,24 @@ #include "CommLayerServer.h" #include <iostream> -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); } |
