summaryrefslogtreecommitdiffstats
path: root/src/Daemon/CommLayerServer.cpp
blob: 1ba1a3c0cbc2a49a5a4d0d633e0af275f2624f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "CommLayerServer.h"
#include "CrashWatcher.h"

CCommLayerServer::CCommLayerServer()
{
}

CCommLayerServer::~CCommLayerServer()
{
}

void CCommLayerServer::Attach(CCrashWatcher *pCW)
{
    m_pCrashWatcher = pCW;
}
void CCommLayerServer::Detach(CCrashWatcher *pCW)
{
    m_pCrashWatcher = NULL;
}
void CCommLayerServer::Notify(const std::string& pMessage)
{
    if (m_pCrashWatcher)
        m_pCrashWatcher->Status(pMessage);
}