summaryrefslogtreecommitdiffstats
path: root/lib/MiddleWare
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 /lib/MiddleWare
parent68ba4945437e12eaa1dead6df27b58ea408f63e8 (diff)
downloadabrt-b08d5c2cf630ecb89d2f22b985dcdfcf25494258.tar.gz
abrt-b08d5c2cf630ecb89d2f22b985dcdfcf25494258.tar.xz
abrt-b08d5c2cf630ecb89d2f22b985dcdfcf25494258.zip
moved files to new inc directory
removed commlayerinner from lybrary
Diffstat (limited to 'lib/MiddleWare')
-rw-r--r--lib/MiddleWare/CrashTypes.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/lib/MiddleWare/CrashTypes.h b/lib/MiddleWare/CrashTypes.h
deleted file mode 100644
index d53e6802..00000000
--- a/lib/MiddleWare/CrashTypes.h
+++ /dev/null
@@ -1,71 +0,0 @@
-#ifndef CRASHTYPES_H_
-#define CRASHTYPES_H_
-
-#include <string>
-#include <map>
-#include <vector>
-
-// SYS - system value, should not be displayed
-// BIN - binary value, should be displayed
-// TXT - text value, should be displayed
-// ATT - text value which can be sent as attachment via reporters
-#define CD_SYS "s"
-#define CD_BIN "b"
-#define CD_TXT "t"
-#define CD_ATT "a"
-
-#define CD_ATT_SIZE (256)
-
-#define CD_ISEDITABLE "y"
-#define CD_ISNOTEDITABLE "n"
-
-#define CD_TYPE (0)
-#define CD_EDITABLE (1)
-#define CD_CONTENT (2)
-
-#define CD_UUID "UUID"
-#define CD_UID "UID"
-#define CD_COUNT "Count"
-#define CD_EXECUTABLE "Executable"
-#define CD_PACKAGE "Package"
-#define CD_DESCRIPTION "Description"
-#define CD_TIME "Time"
-#define CD_REPORTED "Reported"
-#define CD_COMMENT "Comment"
-#define CD_REPRODUCE "How to reproduce"
-#define CD_MWANALYZER "_MWAnalyzer"
-#define CD_MWUID "_MWUID"
-#define CD_MWUUID "_MWUUID"
-#define CD_MWDDD "_MWDDD"
-
-// now, size of a vecor is always 3 -> <type, editable, content>
-typedef std::vector<std::string> vector_strings_t;
-// <key, data>
-typedef std::map<std::string, vector_strings_t> map_crash_data_t;
-
-typedef map_crash_data_t map_crash_info_t;
-typedef std::vector<map_crash_info_t> vector_crash_infos_t;
-typedef map_crash_data_t map_crash_report_t;
-
-inline void add_crash_data_to_crash_info(map_crash_info_t& pCrashInfo,
- const std::string& pItem,
- const std::string& pContent)
-{
- pCrashInfo[pItem].push_back(CD_TXT);
- pCrashInfo[pItem].push_back(CD_ISNOTEDITABLE);
- pCrashInfo[pItem].push_back(pContent);
-}
-
-inline void add_crash_data_to_crash_report(map_crash_report_t& pCrashReport,
- const std::string& pItem,
- const std::string& pType,
- const std::string& pEditable,
- const std::string& pContent)
-{
- pCrashReport[pItem].push_back(pType);
- pCrashReport[pItem].push_back(pEditable);
- pCrashReport[pItem].push_back(pContent);
-}
-
-
-#endif /* CRASHTYPES_H_ */