diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-04-23 14:42:40 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-04-23 14:42:40 +0200 |
| commit | bcf4c69ca5fdd6489ca1c09890971fc8f647aa1b (patch) | |
| tree | e5fedc350ae9368faf77360ea4fb3c0f6d264210 /lib/CommLayer/CommLayerInner.cpp | |
| parent | 99047bce024f1d23c953649cf56ff67e754e44ef (diff) | |
| download | abrt-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.cpp | 28 |
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; +} |
