blob: d691bcae1c17b79023dfb140b5181a26b5b12686 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef OBSERVER_H_
#define OBSERVER_H_
#include "CrashTypes.h"
#include <string>
class CObserver {
public:
//CObserver();
virtual ~CObserver() {}
virtual void Status(const std::string& pMessage) = 0;
virtual void Debug(const std::string& pMessage) = 0;
virtual void Warning(const std::string& pMessage) = 0;
/* this should be implemented in daemon */
virtual vector_crash_infos_t GetCrashInfos(const std::string &pDBusSender) = 0;
virtual map_crash_report_t CreateReport(const std::string &pUUID,const std::string &pDBusSender) = 0;
virtual bool Report(map_crash_report_t pReport) = 0;
virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pDBusSender) = 0;
};
#endif /* OBSERVER_H_ */
|