summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-28 16:58:07 +0200
committerZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-28 16:58:07 +0200
commitb08d5c2cf630ecb89d2f22b985dcdfcf25494258 (patch)
treeee82443154010e6e2c73291192b574dda9eb6b7e
parent68ba4945437e12eaa1dead6df27b58ea408f63e8 (diff)
downloadabrt-b08d5c2cf630ecb89d2f22b985dcdfcf25494258.tar.gz
abrt-b08d5c2cf630ecb89d2f22b985dcdfcf25494258.tar.xz
abrt-b08d5c2cf630ecb89d2f22b985dcdfcf25494258.zip
moved files to new inc directory
removed commlayerinner from lybrary
-rw-r--r--inc/ABRTException.h (renamed from lib/Utils/ABRTException.h)0
-rw-r--r--inc/CrashTypes.h (renamed from lib/MiddleWare/CrashTypes.h)0
-rw-r--r--lib/CommLayer/CommLayer.h7
-rw-r--r--lib/CommLayer/CommLayerInner.cpp57
4 files changed, 0 insertions, 64 deletions
diff --git a/lib/Utils/ABRTException.h b/inc/ABRTException.h
index 730faf3b..730faf3b 100644
--- a/lib/Utils/ABRTException.h
+++ b/inc/ABRTException.h
diff --git a/lib/MiddleWare/CrashTypes.h b/inc/CrashTypes.h
index d53e6802..d53e6802 100644
--- a/lib/MiddleWare/CrashTypes.h
+++ b/inc/CrashTypes.h
diff --git a/lib/CommLayer/CommLayer.h b/lib/CommLayer/CommLayer.h
deleted file mode 100644
index 044d36d2..00000000
--- a/lib/CommLayer/CommLayer.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef COMMLAYER_H_
-#define COMMLAYER_H_
-
-#include "CommLayerInner.h"
-//extern "C" CCommLayerInner* get_commlayer();
-
-#endif /* COMMLAYER_H_ */
diff --git a/lib/CommLayer/CommLayerInner.cpp b/lib/CommLayer/CommLayerInner.cpp
deleted file mode 100644
index a7c5123d..00000000
--- a/lib/CommLayer/CommLayerInner.cpp
+++ /dev/null
@@ -1,57 +0,0 @@
-#include "CommLayerInner.h"
-
-namespace CommLayerInner
-{
-
- static CDebug* g_pDebug = NULL;
- static CWarning* g_pWarning = NULL;
- static CStatus* g_pStatus = NULL;
-
-
- void init_debug(CObserver* pObserver)
- {
- if (!g_pDebug)
- {
- g_pDebug = new CDebug(pObserver);
- }
- }
-
- void init_warning(CObserver* pObserver)
- {
- if (!g_pWarning)
- {
- g_pWarning = new CWarning(pObserver);
- }
- }
-
- void init_status(CObserver* pObserver)
- {
- if (!g_pStatus)
- {
- g_pStatus = new CStatus(pObserver);
- }
- }
-
- void debug(const std::string& pMessage)
- {
- if (g_pDebug)
- {
- g_pDebug->Message(pMessage);
- }
- }
- void warning(const std::string& pMessage)
- {
- if (g_pWarning)
- {
- g_pWarning->Message(pMessage);
- }
- }
-
- void status(const std::string& pMessage)
- {
- if (g_pStatus)
- {
- g_pStatus->Message(pMessage);
- }
- }
-}