summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-01-21 00:44:39 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-01-21 00:44:39 +0100
commita387e6c91cd45ffc35c03e42bde7ba926231de4b (patch)
tree14f83cca9a0a81539de37dce061599b7063d52e0 /src/include
parent320724188859d96b0a974d9e84bacd49a614f97d (diff)
downloadabrt-a387e6c91cd45ffc35c03e42bde7ba926231de4b.tar.gz
abrt-a387e6c91cd45ffc35c03e42bde7ba926231de4b.tar.xz
abrt-a387e6c91cd45ffc35c03e42bde7ba926231de4b.zip
Remove CCrashWatcher and CObserver classes; merge libabrt_daemon into abrtd
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/Makefile.am2
-rw-r--r--src/include/comm_layer_inner.h61
-rw-r--r--src/include/observer.h32
3 files changed, 0 insertions, 95 deletions
diff --git a/src/include/Makefile.am b/src/include/Makefile.am
index de9b39a2..84e56d6d 100644
--- a/src/include/Makefile.am
+++ b/src/include/Makefile.am
@@ -8,8 +8,6 @@ libabrt_includedir = $(includedir)/abrt
libabrt_include_HEADERS = \
abrtlib.h \
abrt_types.h \
- comm_layer_inner.h \
abrt_crash_data.h \
dbus_common.h \
- observer.h \
xfuncs.h
diff --git a/src/include/comm_layer_inner.h b/src/include/comm_layer_inner.h
deleted file mode 100644
index 2cca9add..00000000
--- a/src/include/comm_layer_inner.h
+++ /dev/null
@@ -1,61 +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 COMMLAYERINNER_H_
-#define COMMLAYERINNER_H_
-
-#ifdef __cplusplus
-
-#include "observer.h"
-
-void init_daemon_logging(CObserver *pObs);
-
-#endif
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Set client's name (dbus ID). NULL unsets it.
- */
-void set_client_name(const char* name);
-
-/*
- * Ask a client to warn the user about a non-fatal, but unexpected condition.
- * In GUI, it will usually be presented as a popup message.
- * Usually there is no need to call it directly, just use [p]error_msg().
- */
-//now static:
-//void warn_client(const char *msg);
-//use [p]error_msg[_and_die] instead, it sends the message as a warning to client
-//as well as to the log.
-
-/*
- * Logs a message to a client.
- * In UI, it will usually appear as a new status line message in GUI,
- * or as a new message line in CLI.
- */
-void update_client(const char *fmt, ...);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/src/include/observer.h b/src/include/observer.h
deleted file mode 100644
index 1c8f2355..00000000
--- a/src/include/observer.h
+++ /dev/null
@@ -1,32 +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 OBSERVER_H_
-#define OBSERVER_H_
-
-#include <string>
-#include "dbus_common.h"
-
-class CObserver {
- public:
- virtual ~CObserver() {}
- virtual void Status(const char *pMessage, const char* peer) = 0;
- virtual void Warning(const char *pMessage, const char* peer) = 0;
-};
-
-#endif