summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/CommLayerInner.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-04-23 14:42:40 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-04-23 14:42:40 +0200
commitbcf4c69ca5fdd6489ca1c09890971fc8f647aa1b (patch)
treee5fedc350ae9368faf77360ea4fb3c0f6d264210 /lib/CommLayer/CommLayerInner.cpp
parent99047bce024f1d23c953649cf56ff67e754e44ef (diff)
downloadabrt-bcf4c69ca5fdd6489ca1c09890971fc8f647aa1b.tar.gz
abrt-bcf4c69ca5fdd6489ca1c09890971fc8f647aa1b.tar.xz
abrt-bcf4c69ca5fdd6489ca1c09890971fc8f647aa1b.zip
Added intercomm layer so plugins can send various information to the daemon.
Diffstat (limited to 'lib/CommLayer/CommLayerInner.cpp')
-rw-r--r--lib/CommLayer/CommLayerInner.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/CommLayer/CommLayerInner.cpp b/lib/CommLayer/CommLayerInner.cpp
new file mode 100644
index 0000000..41fd3c1
--- /dev/null
+++ b/lib/CommLayer/CommLayerInner.cpp
@@ -0,0 +1,28 @@
+#include "CommLayerInner.h"
+
+CCommLayerInner::CCommLayerInner(CObserver *pObs)
+: DEBUGINFO(pObs),
+ WARNING(pObs),
+ STATUS(pObs)
+{
+ m_pObs = pObs;
+}
+
+CCommLayerInner::~CCommLayerInner()
+{
+}
+
+CDebug& CCommLayerInner::Debug()
+{
+ return DEBUGINFO;
+}
+
+CWarning& CCommLayerInner::Warning()
+{
+ return WARNING;
+}
+
+CStatusUpdate& CCommLayerInner::Status()
+{
+ return STATUS;
+}