Audacity
3.2.0
libraries
lib-crashpad-configurer
CrashpadConfigurer.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <map>
5
#include <vector>
6
7
class
CRASHPAD_CONFIGURER_API
CrashpadConfigurer
final
8
{
9
std::string
mHandlerPath
;
10
std::string
mDatabasePath
;
11
std::string
mMetricsDir
;
12
std::string
mURL
;
13
std::vector<std::string>
mArguments
;
14
std::map<std::string, std::string>
mAnnotations
;
15
std::vector<std::string>
mAttachments
;
16
bool
mDatabaseUploadsEnabled {
false
};
17
public
:
18
CrashpadConfigurer
& SetHandlerPathUTF8(
const
std::string& handlerPath);
19
CrashpadConfigurer
& SetDatabasePathUTF8(
const
std::string& database);
20
CrashpadConfigurer
& SetMetricsDirUTF8(
const
std::string& metricsDir);
21
CrashpadConfigurer
& SetURL(
const
std::string&);
22
CrashpadConfigurer
& SetArguments(
const
std::vector<std::string>& arguments);
23
CrashpadConfigurer
& SetAnnotations(
const
std::map<std::string, std::string>& annotations);
24
CrashpadConfigurer
& SetAttachmentsUTF8(
const
std::vector<std::string>& attachments);
25
CrashpadConfigurer
& SetDatabaseUploadEnabled(
bool
enabled);
26
27
void
Start();
28
};
CrashpadConfigurer
Definition:
CrashpadConfigurer.h:8
CrashpadConfigurer::mDatabasePath
std::string mDatabasePath
Definition:
CrashpadConfigurer.h:10
CrashpadConfigurer::mURL
std::string mURL
Definition:
CrashpadConfigurer.h:12
CrashpadConfigurer::mArguments
std::vector< std::string > mArguments
Definition:
CrashpadConfigurer.h:13
CrashpadConfigurer::mMetricsDir
std::string mMetricsDir
Definition:
CrashpadConfigurer.h:11
CrashpadConfigurer::mHandlerPath
std::string mHandlerPath
Definition:
CrashpadConfigurer.h:9
CrashpadConfigurer::mAttachments
std::vector< std::string > mAttachments
Definition:
CrashpadConfigurer.h:15
CrashpadConfigurer::mAnnotations
std::map< std::string, std::string > mAnnotations
Definition:
CrashpadConfigurer.h:14
Generated by
1.9.3