Fixed issue #4126: Capitalize the first letter in the Push dialog
[TortoiseGit.git] / ext / CrashServer / CrashHandler / SendRpt / Config.h
blob7ab5d5f7523d38021b8edf4bce773cd0d2deade6
1 // Copyright 2014 Idol Software, Inc.
2 //
3 // This file is part of Doctor Dump SDK.
4 //
5 // Doctor Dump SDK is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #pragma once
20 #pragma warning(push)
21 #pragma warning(disable: 4091)
22 #include <dbghelp.h>
23 #pragma warning(pop)
24 #include <atlstr.h>
25 #include <vector>
26 #include <map>
28 struct Config
30 CStringW Prefix;
31 CStringW AppName;
32 CStringW Company;
33 CStringW PrivacyPolicyUrl;
34 USHORT V[4];
35 USHORT Hotfix;
36 CStringW ApplicationGUID;
37 BOOL ServiceMode; // Service is terminated after all dumps has been collected, then send all needed information.
38 BOOL LeaveDumpFilesInTempFolder;
39 BOOL OpenProblemInBrowser;
40 BOOL UseWER;
41 DWORD SubmitterID;
42 BOOL SendAdditionalDataWithoutApproval;
43 DWORD FullDumpType;
44 CStringW LangFilePath;
45 CStringW SendRptPath;
46 CStringW DbgHelpPath;
47 CStringW ProcessName;
48 std::vector<std::pair<CStringW, CStringW> > FilesToAttach;
49 std::map<CStringW, CStringW> UserInfo;
50 CStringW CustomInfo;
52 Config()
54 V[0] = V[1] = V[2] = V[3] = 0;
55 Hotfix = 0;
56 ServiceMode = FALSE;
57 LeaveDumpFilesInTempFolder = FALSE;
58 OpenProblemInBrowser = TRUE;
59 UseWER = FALSE;
60 SubmitterID = 0;
61 SendAdditionalDataWithoutApproval = FALSE;
62 FullDumpType = 0;
66 struct Params
68 HANDLE Process;
69 DWORD ProcessId;
70 MINIDUMP_EXCEPTION_INFORMATION ExceptInfo;
71 BOOL WasAssert;
72 HANDLE ReportReady;
73 CStringA Group;