summaryrefslogtreecommitdiffstats
path: root/lib/Utils/CommLayerInner.h
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-11-09 11:06:14 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-11-09 11:06:14 +0100
commitca69be0df85ac461824ff06eda61669d7741ca4f (patch)
tree607fb84953af65135109d47dfb8ad19472027fae /lib/Utils/CommLayerInner.h
parentd8d3f8d838ef4656c2f786c2316577f202827dbf (diff)
parentbff039d2e6d0d721447335311f83c5e9ff50d528 (diff)
downloadabrt-ca69be0df85ac461824ff06eda61669d7741ca4f.tar.gz
abrt-ca69be0df85ac461824ff06eda61669d7741ca4f.tar.xz
abrt-ca69be0df85ac461824ff06eda61669d7741ca4f.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Utils/CommLayerInner.h')
-rw-r--r--lib/Utils/CommLayerInner.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/Utils/CommLayerInner.h b/lib/Utils/CommLayerInner.h
index d161cfc..9c22968 100644
--- a/lib/Utils/CommLayerInner.h
+++ b/lib/Utils/CommLayerInner.h
@@ -9,15 +9,19 @@ void init_daemon_logging(CObserver *pObs);
* 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.
+
+/*
+ * 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().
*/
-void warn_client(const std::string& pMessage);
-/* Logs a message to a client.
+//now static: void warn_client(const char *msg);
+
+/*
+ * 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 std::string& pMessage);
-
-#endif /* COMMLAYERINNER_H_ */
+void update_client(const char *fmt, ...);
+#endif