diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-15 12:43:01 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-15 12:43:01 +0200 |
commit | 0f91e9a06aa0f68a2cbe3c9fc4a858c0a5e6744a (patch) | |
tree | 13f92f2fc02d346d8474ef03fd0596e3e0447eda /lib/Utils/CommLayerInner.h | |
parent | 5f4a56f97f36e9cb844fcf3e4399cea67000a6bb (diff) | |
download | abrt-0f91e9a06aa0f68a2cbe3c9fc4a858c0a5e6744a.tar.gz abrt-0f91e9a06aa0f68a2cbe3c9fc4a858c0a5e6744a.tar.xz abrt-0f91e9a06aa0f68a2cbe3c9fc4a858c0a5e6744a.zip |
unify CommLayer, MiddleWare and Utils into Utils
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils/CommLayerInner.h')
-rw-r--r-- | lib/Utils/CommLayerInner.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/Utils/CommLayerInner.h b/lib/Utils/CommLayerInner.h new file mode 100644 index 00000000..d161cfc7 --- /dev/null +++ b/lib/Utils/CommLayerInner.h @@ -0,0 +1,23 @@ +#ifndef COMMLAYERINNER_H_ +#define COMMLAYERINNER_H_ + +#include "Observer.h" + +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. + * 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_ */ + |