summaryrefslogtreecommitdiffstats
path: root/src/Daemon/CommLayerServer.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-26 14:23:11 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-26 14:23:11 +0200
commitde7e5c9866603aed5f7b9c3ba6986a7ff1d37028 (patch)
treeef04c1c492e59b7d9c91392761d5a725af4bb632 /src/Daemon/CommLayerServer.h
parentfcd811fdd17adb171478957e31401598dedce166 (diff)
downloadabrt-de7e5c9866603aed5f7b9c3ba6986a7ff1d37028.tar.gz
abrt-de7e5c9866603aed5f7b9c3ba6986a7ff1d37028.tar.xz
abrt-de7e5c9866603aed5f7b9c3ba6986a7ff1d37028.zip
further simplify CObserver, CCommLayerServer, and CCrashWatcher classes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/CommLayerServer.h')
-rw-r--r--src/Daemon/CommLayerServer.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/Daemon/CommLayerServer.h b/src/Daemon/CommLayerServer.h
index 6d9270d4..0953c37d 100644
--- a/src/Daemon/CommLayerServer.h
+++ b/src/Daemon/CommLayerServer.h
@@ -1,32 +1,17 @@
#ifndef COMMLAYERSERVER_H_
#define COMMLAYERSERVER_H_
-#include <vector>
-#include <map>
#include <string>
-#include <sstream>
-#include <iostream>
-#include "Observer.h"
+#include "abrtlib.h"
#include "CrashTypes.h"
class CCrashWatcher;
class CCommLayerServer {
- protected:
- CCrashWatcher *m_pCrashWatcher;
public:
CCommLayerServer();
virtual ~CCommLayerServer();
- /* observer */
- 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;
- virtual report_status_t Report(const map_crash_report_t& pReport, const std::string& pSender) = 0;
- virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pSender) = 0;
-
/* just stubs to be called when not implemented in specific comm layer */
virtual void Crash(const std::string& arg1) {}
virtual void AnalyzeComplete(const map_crash_report_t& arg1) {}