From fca6fa371006186d12a720cd48c270789c67d2e6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 26 Aug 2009 16:22:26 +0200 Subject: replace comm_layer_inner_debug() with log() everywhere Signed-off-by: Denys Vlasenko --- lib/CommLayer/CommLayerInner.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/CommLayer/CommLayerInner.h') 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_ */ -- cgit