Audacity 3.2.0
BreakpadConfigurer.h
Go to the documentation of this file.
1/*!********************************************************************
2*
3 Audacity: A Digital Audio Editor
4
5 BreakpadConfigurer.h
6
7 Vitaly Sverchinsky
8
9 **********************************************************************/
10
11#pragma once
12
13#include <string>
14#include <map>
15
17
27class CRASHREPORTS_API BreakpadConfigurer final
28{
29 std::string mDatabasePathUTF8;
30 std::string mSenderPathUTF8;
31 std::string mReportURL;
32 std::map<std::string, std::string> mParameters;
33public:
35 BreakpadConfigurer& SetDatabasePathUTF8(const std::string& pathUTF8);
37 BreakpadConfigurer& SetReportURL(const std::string& reportURL);
39 BreakpadConfigurer& SetParameters(const std::map<std::string, std::string>& parameters);
41 BreakpadConfigurer& SetSenderPathUTF8(const std::string& pathUTF8);
42
44 void Start();
45};
This class is used to configure Breakpad's handler before start.
std::string mSenderPathUTF8
std::map< std::string, std::string > mParameters
std::string mDatabasePathUTF8