/processing/crashrptprobe/CrashDescReader.h

http://crashrpt.googlecode.com/ · C Header · 67 lines · 37 code · 17 blank · 13 comment · 0 complexity · 8e6015fe4875517f88c80d5387d92bf2 MD5 · raw file

  1. /*************************************************************************************
  2. This file is a part of CrashRpt library.
  3. Copyright (c) 2003-2013 The CrashRpt project authors. All Rights Reserved.
  4. Use of this source code is governed by a BSD-style license
  5. that can be found in the License.txt file in the root of the source
  6. tree. All contributing project authors may
  7. be found in the Authors.txt file in the root of the source tree.
  8. ***************************************************************************************/
  9. // File: CrashDescReader.h
  10. // Description: Crash description XML file reader.
  11. // Authors: zexspectrum
  12. // Date: 2010
  13. #pragma once
  14. #include "stdafx.h"
  15. #include <map>
  16. #include "tinyxml.h"
  17. class CCrashDescReader
  18. {
  19. public:
  20. CCrashDescReader();
  21. ~CCrashDescReader();
  22. int Load(CString sFileName);
  23. bool m_bLoaded;
  24. DWORD m_dwGeneratorVersion;
  25. CString m_sCrashGUID;
  26. CString m_sAppName;
  27. CString m_sAppVersion;
  28. CString m_sImageName;
  29. CString m_sOperatingSystem;
  30. BOOL m_bOSIs64Bit;
  31. CString m_sSystemTimeUTC;
  32. CString m_sGeoLocation;
  33. DWORD m_dwExceptionType;
  34. DWORD m_dwExceptionCode;
  35. DWORD m_dwFPESubcode;
  36. CString m_sInvParamExpression;
  37. CString m_sInvParamFunction;
  38. CString m_sInvParamFile;
  39. DWORD m_dwInvParamLine;
  40. CString m_sUserEmail;
  41. CString m_sProblemDescription;
  42. CString m_sMemoryUsageKbytes;
  43. CString m_sGUIResourceCount;
  44. CString m_sOpenHandleCount;
  45. std::map<CString, CString> m_aFileItems;
  46. std::map<CString, CString> m_aCustomProps;
  47. private:
  48. int LoadXmlv10(TiXmlHandle hDoc);
  49. };