From df1b1d501106687fcf0039dc9771c4455c346df5 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 22 Dec 2010 13:57:14 +0100 Subject: *: rename *crash_dump.* -> *crash_data.* Signed-off-by: Denys Vlasenko --- src/daemon/CommLayerServer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon/CommLayerServer.h') diff --git a/src/daemon/CommLayerServer.h b/src/daemon/CommLayerServer.h index 5b7ecf57..997f6c41 100644 --- a/src/daemon/CommLayerServer.h +++ b/src/daemon/CommLayerServer.h @@ -20,7 +20,7 @@ #define COMMLAYERSERVER_H_ #include "abrtlib.h" -#include "abrt_crash_dump.h" +#include "abrt_crash_data.h" class CCommLayerServer { public: -- cgit From a0dc58e8355a0d4b98b9c88e0f26172b1418d7c9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 20 Jan 2011 21:32:58 +0100 Subject: add OPT_LIST mechanism to handle multiply occurring options This allowed to convert abrt-action-bugzilla, abrt-action-rhtsupport and abrt-action-kerneloops to parse_opts() Signed-off-by: Denys Vlasenko --- src/daemon/CommLayerServer.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/daemon/CommLayerServer.h') diff --git a/src/daemon/CommLayerServer.h b/src/daemon/CommLayerServer.h index 997f6c41..b6da0ae5 100644 --- a/src/daemon/CommLayerServer.h +++ b/src/daemon/CommLayerServer.h @@ -20,7 +20,6 @@ #define COMMLAYERSERVER_H_ #include "abrtlib.h" -#include "abrt_crash_data.h" class CCommLayerServer { public: -- cgit From 28a25818179cbc6f5b2721c0da009c3729673d96 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 21 Jan 2011 17:33:43 +0100 Subject: s/QuotaExceed/QuotaExceeded/g Signed-off-by: Denys Vlasenko --- src/daemon/CommLayerServer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon/CommLayerServer.h') diff --git a/src/daemon/CommLayerServer.h b/src/daemon/CommLayerServer.h index b6da0ae5..17ecb44a 100644 --- a/src/daemon/CommLayerServer.h +++ b/src/daemon/CommLayerServer.h @@ -35,7 +35,7 @@ class CCommLayerServer { const char *uid_str ) {} virtual void JobDone(const char* peer) = 0; - virtual void QuotaExceed(const char* str) {} + virtual void QuotaExceeded(const char* str) {} virtual void Update(const char* pMessage, const char* peer) {}; virtual void Warning(const char* pMessage, const char* peer) {}; -- cgit From 5d3a66f0b6cc2e9fd6a5dc5815d65d6708050ccc Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 21 Jan 2011 17:34:29 +0100 Subject: remove CCommLayerServer[DBus] classes Signed-off-by: Denys Vlasenko --- src/daemon/CommLayerServer.h | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 src/daemon/CommLayerServer.h (limited to 'src/daemon/CommLayerServer.h') diff --git a/src/daemon/CommLayerServer.h b/src/daemon/CommLayerServer.h deleted file mode 100644 index 17ecb44a..00000000 --- a/src/daemon/CommLayerServer.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - Copyright (C) 2010 ABRT team - Copyright (C) 2010 RedHat Inc - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ -#ifndef COMMLAYERSERVER_H_ -#define COMMLAYERSERVER_H_ - -#include "abrtlib.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 *package_name, - const char *crash_id, - const char *dir, - const char *uid_str - ) {} - virtual void JobDone(const char* peer) = 0; - virtual void QuotaExceeded(const char* str) {} - - virtual void Update(const char* pMessage, const char* peer) {}; - virtual void Warning(const char* pMessage, const char* peer) {}; -}; - -#endif -- cgit