summaryrefslogtreecommitdiffstats
path: root/src/daemon/CrashWatcher.h
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-11-09 16:48:38 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2010-11-09 16:48:38 +0100
commitd1c6a4329284a1daba12a7e0fbd743a90cb0d884 (patch)
treef3ec3f41fdf87fa82e72a5053fc154d15ee44702 /src/daemon/CrashWatcher.h
parent12fe2aea5f72b17300d7efa60eeaa74f2e980b6a (diff)
downloadabrt-d1c6a4329284a1daba12a7e0fbd743a90cb0d884.tar.gz
abrt-d1c6a4329284a1daba12a7e0fbd743a90cb0d884.tar.xz
abrt-d1c6a4329284a1daba12a7e0fbd743a90cb0d884.zip
Move some functions from CrashWatcher to MiddleWare
They have nothing to do with CrashWatcher class. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/CrashWatcher.h')
-rw-r--r--src/daemon/CrashWatcher.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/daemon/CrashWatcher.h b/src/daemon/CrashWatcher.h
index 44c04137..4f755a36 100644
--- a/src/daemon/CrashWatcher.h
+++ b/src/daemon/CrashWatcher.h
@@ -19,15 +19,7 @@
#ifndef CRASHWATCHER_H_
#define CRASHWATCHER_H_
-#include <string>
-#include <sys/inotify.h>
-#include <glib.h>
-#include <pthread.h>
-#include "MiddleWare.h"
-#include "Settings.h"
-
-#include "CommLayerServerDBus.h"
-#include "comm_layer_inner.h"
+#include "observer.h"
class CCrashWatcher
@@ -43,10 +35,4 @@ class CCrashWatcher
virtual void Warning(const char *pMessage, const char* peer);
};
-vector_map_crash_data_t GetCrashInfos(long caller_uid);
-int CreateReportThread(const char* crash_id, long caller_uid, int force, const char* pSender);
-void CreateReport(const char* crash_id, long caller_uid, int force, map_crash_data_t&);
-int DeleteDebugDump(const char *crash_id, long caller_uid);
-void DeleteDebugDump_by_dir(const char *dump_dir);
-
#endif