summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/CommLayerInner.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-26 16:22:26 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-26 16:22:26 +0200
commitfca6fa371006186d12a720cd48c270789c67d2e6 (patch)
treebb17aaf2e00132d41263aac0fee6481d754800dd /lib/CommLayer/CommLayerInner.h
parent556a4b3df4f116965e8dc46c08ac5e720834022e (diff)
downloadabrt-fca6fa371006186d12a720cd48c270789c67d2e6.tar.gz
abrt-fca6fa371006186d12a720cd48c270789c67d2e6.tar.xz
abrt-fca6fa371006186d12a720cd48c270789c67d2e6.zip
replace comm_layer_inner_debug() with log() everywhere
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/CommLayer/CommLayerInner.h')
-rw-r--r--lib/CommLayer/CommLayerInner.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/CommLayer/CommLayerInner.h b/lib/CommLayer/CommLayerInner.h
index 491c161..43faac0 100644
--- a/lib/CommLayer/CommLayerInner.h
+++ b/lib/CommLayer/CommLayerInner.h
@@ -4,8 +4,15 @@
#include "Observer.h"
void comm_layer_inner_init(CObserver *pObs);
-void comm_layer_inner_debug(const std::string& pMessage);
+
+/* 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.
+ */
void comm_layer_inner_warning(const std::string& pMessage);
+/* 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 comm_layer_inner_status(const std::string& pMessage);
#endif /* COMMLAYERINNER_H_ */