blob: 367c09560122cd889f838bc29bf23a905045ebf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef COMMLAYERSERVER_H_
#define COMMLAYERSERVER_H_
#include <string>
#include "abrtlib.h"
#include "CrashTypes.h"
class CCommLayerServer {
public:
int m_init_error;
CCommLayerServer();
virtual ~CCommLayerServer();
/* just stubs to be called when not implemented in specific comm layer */
virtual void Crash(const char *progname, const char *uid_str) {}
virtual void JobDone(const char* pDest, const char* pUUID) = 0;
virtual void QuotaExceed(const char* str) {}
virtual void Update(const char* pMessage, const char* peer, uint64_t pJobID) {};
virtual void Warning(const char* pMessage, const char* peer, uint64_t pJobID) {};
};
#endif
|