diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-08 13:16:06 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-08 13:16:06 +0200 |
commit | a4257108013f15653724b5ed3b3c208e071567c5 (patch) | |
tree | 456d43971be209e777fce616ac149d0032c90452 /src/Daemon/CommLayerServer.h | |
parent | 5d2fb8bf5ebdf814259a01c6e429311334d2eabc (diff) | |
download | abrt-a4257108013f15653724b5ed3b3c208e071567c5.tar.gz abrt-a4257108013f15653724b5ed3b3c208e071567c5.tar.xz abrt-a4257108013f15653724b5ed3b3c208e071567c5.zip |
abrtd: eliminate g_pending_jobs[] map and all corresponding TODOs :)
-6k:
text data bss dec hexfilename
194741 2656 2384 199781 30c65abrt.t1/abrt-0.0.8.5/src/Daemon/.libs/abrtd
188316 2648 2320 193284 2f304abrt.t2/abrt-0.0.8.5/src/Daemon/.libs/abrtd
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/CommLayerServer.h')
-rw-r--r-- | src/Daemon/CommLayerServer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Daemon/CommLayerServer.h b/src/Daemon/CommLayerServer.h index 9beb945a..d2d2c4ec 100644 --- a/src/Daemon/CommLayerServer.h +++ b/src/Daemon/CommLayerServer.h @@ -14,11 +14,12 @@ class CCommLayerServer { /* just stubs to be called when not implemented in specific comm layer */ virtual void Crash(const std::string& progname, const std::string& uid) {} + virtual void JobDone(const char* pDest, const char* pUUID) = 0; + virtual void JobStarted(const char* pDest) {}; + virtual void Error(const std::string& arg1) {} virtual void Update(const std::string& pMessage, uint64_t pJobID) {}; virtual void Warning(const std::string& pMessage) {}; - virtual void JobDone(const char* pDest, uint64_t pJobID) = 0; - virtual void JobStarted(const char* pDest, uint64_t pJobID) {}; virtual void Warning(const std::string& pMessage, uint64_t pJobID) {}; }; |