summaryrefslogtreecommitdiffstats
path: root/src/Daemon/CommLayerServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Daemon/CommLayerServer.h')
-rw-r--r--src/Daemon/CommLayerServer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Daemon/CommLayerServer.h b/src/Daemon/CommLayerServer.h
index 76af62b2..6d9270d4 100644
--- a/src/Daemon/CommLayerServer.h
+++ b/src/Daemon/CommLayerServer.h
@@ -9,16 +9,18 @@
#include "Observer.h"
#include "CrashTypes.h"
+class CCrashWatcher;
+
class CCommLayerServer {
protected:
- CObserver *m_pObserver;
+ CCrashWatcher *m_pCrashWatcher;
public:
CCommLayerServer();
virtual ~CCommLayerServer();
/* observer */
- void Attach(CObserver *pObs);
- void Detach(CObserver *pObs);
+ void Attach(CCrashWatcher *pCW);
+ void Detach(CCrashWatcher *pCW);
void Notify(const std::string& pMessage);
virtual vector_crash_infos_t GetCrashInfos(const std::string& pSender) = 0;