PageRenderTime 17ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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