summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-03-09 16:53:38 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-03-09 16:53:38 +0100
commit4b7a0764c54a0bce8bb3f59bdd94fe30c591e0c1 (patch)
treea5ef233d804b8d4b6ad64a140b3bda9ac9122fb8
parenta9aae7ddc511b1d73792aedcff821ab637d40984 (diff)
downloadabrt-4b7a0764c54a0bce8bb3f59bdd94fe30c591e0c1.tar.gz
abrt-4b7a0764c54a0bce8bb3f59bdd94fe30c591e0c1.tar.xz
abrt-4b7a0764c54a0bce8bb3f59bdd94fe30c591e0c1.zip
deps cleanup, signal AnalyzeComplete has the crashreport as an argument.
-rw-r--r--src/Daemon/CrashWatcher.cpp4
-rw-r--r--src/Daemon/DBusServerProxy.h2
-rw-r--r--src/Daemon/Makefile.am2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/Daemon/CrashWatcher.cpp b/src/Daemon/CrashWatcher.cpp
index cc0960a8..04d474c2 100644
--- a/src/Daemon/CrashWatcher.cpp
+++ b/src/Daemon/CrashWatcher.cpp
@@ -165,7 +165,7 @@ dbus_map_report_info_t CCrashWatcher::CreateReport(const std::string &pUUID,cons
m_pMW->CreateReport(pUUID,to_string(unix_uid), crashReport);
retval = crashReport.GetMap();
//send out the message about completed analyze
- AnalyzeComplete(pUUID);
+ AnalyzeComplete(retval);
}
catch(std::string err)
{
@@ -286,7 +286,7 @@ void CCrashWatcher::Run()
#ifdef DEBUG
std::cout << "Run" << std::endl;
#endif
- Lock();
+ //Lock();
GStartWatch();
}
diff --git a/src/Daemon/DBusServerProxy.h b/src/Daemon/DBusServerProxy.h
index e844f0fd..a8ed9abf 100644
--- a/src/Daemon/DBusServerProxy.h
+++ b/src/Daemon/DBusServerProxy.h
@@ -106,7 +106,7 @@ public:
emit_signal(sig);
}
/* Notify the clients that creating a report has finished */
- void AnalyzeComplete(const std::string& arg1)
+ void AnalyzeComplete(dbus_map_report_info_t arg1)
{
::DBus::SignalMessage sig("AnalyzeComplete");
::DBus::MessageIter wi = sig.writer();
diff --git a/src/Daemon/Makefile.am b/src/Daemon/Makefile.am
index d36828b3..70934b47 100644
--- a/src/Daemon/Makefile.am
+++ b/src/Daemon/Makefile.am
@@ -3,7 +3,7 @@ abrt_SOURCES = CrashWatcher.cpp CrashWatcher.h Daemon.cpp DBusServerProxy.h \
DBusCommon.h
abrt_CPPFLAGS = -Wall -Werror -I../../lib/MiddleWare\
-I../../lib/DBus \
- -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" $(DBUS_GLIB_CFLAGS) $(DBUSCPP_CFLAGS) \
+ -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" $(GLIB_CFLAGS) $(DBUSCPP_CFLAGS) \
-DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \
-DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \
-DCONF_DIR=\"$(CONF_DIR)\"