diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-26 14:21:42 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-26 14:21:42 +0200 |
commit | fcd811fdd17adb171478957e31401598dedce166 (patch) | |
tree | 14d6a745d822450e436e0fb4c531f987022f4302 /src/Daemon/CommLayerServer.h | |
parent | 2da98808e7484e69f14b19a1039ded34a954f64e (diff) | |
download | abrt-fcd811fdd17adb171478957e31401598dedce166.tar.gz abrt-fcd811fdd17adb171478957e31401598dedce166.tar.xz abrt-fcd811fdd17adb171478957e31401598dedce166.zip |
make some CrashWatcher member functions static; simplify CObserver class
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/CommLayerServer.h')
-rw-r--r-- | src/Daemon/CommLayerServer.h | 8 |
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; |