summaryrefslogtreecommitdiffstats
path: root/lib/Utils/Observer.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-15 12:43:01 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-15 12:43:01 +0200
commit0f91e9a06aa0f68a2cbe3c9fc4a858c0a5e6744a (patch)
tree13f92f2fc02d346d8474ef03fd0596e3e0447eda /lib/Utils/Observer.h
parent5f4a56f97f36e9cb844fcf3e4399cea67000a6bb (diff)
downloadabrt-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/Observer.h')
-rw-r--r--lib/Utils/Observer.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/Utils/Observer.h b/lib/Utils/Observer.h
new file mode 100644
index 00000000..421dc0cc
--- /dev/null
+++ b/lib/Utils/Observer.h
@@ -0,0 +1,16 @@
+#ifndef OBSERVER_H_
+#define OBSERVER_H_
+
+#include <string>
+#include <iostream>
+#include <stdint.h>
+#include "DBusCommon.h"
+
+class CObserver {
+ public:
+ virtual ~CObserver() {}
+ virtual void Status(const std::string& pMessage, const char* peer, uint64_t pDest) = 0;
+ virtual void Warning(const std::string& pMessage, const char* peer, uint64_t pDest) = 0;
+};
+
+#endif