summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/CommLayerInner.h
blob: 2b4f63a3cb9579f324ef85d75d3c494f6569fbbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef COMMLAYERINNER_H_
#define COMMLAYERINNER_H_

#include "Observer.h"

void init_daemon_logging(CObserver *pObs);

/* 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 warn_client(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 update_client(const std::string& pMessage);

#endif /* COMMLAYERINNER_H_ */