summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CommLayer')
-rw-r--r--lib/CommLayer/CommLayerInner.cpp7
-rw-r--r--lib/CommLayer/CommLayerInner.h9
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/CommLayer/CommLayerInner.cpp b/lib/CommLayer/CommLayerInner.cpp
index 71b26aa..ec569e4 100644
--- a/lib/CommLayer/CommLayerInner.cpp
+++ b/lib/CommLayer/CommLayerInner.cpp
@@ -11,13 +11,6 @@ void comm_layer_inner_init(CObserver *pObs)
}
}
-void comm_layer_inner_debug(const std::string& pMessage)
-{
- if (g_pObs)
- {
- g_pObs->Debug(pMessage);
- }
-}
void comm_layer_inner_warning(const std::string& pMessage)
{
if (g_pObs)
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_ */