Audacity 3.2.0
|
#include <CrashpadConfigurer.h>
Public Member Functions | |
CrashpadConfigurer & | SetHandlerPathUTF8 (const std::string &handlerPath) |
CrashpadConfigurer & | SetDatabasePathUTF8 (const std::string &database) |
CrashpadConfigurer & | SetMetricsDirUTF8 (const std::string &metricsDir) |
CrashpadConfigurer & | SetURL (const std::string &) |
CrashpadConfigurer & | SetArguments (const std::vector< std::string > &arguments) |
CrashpadConfigurer & | SetAnnotations (const std::map< std::string, std::string > &annotations) |
CrashpadConfigurer & | SetAttachmentsUTF8 (const std::vector< std::string > &attachments) |
CrashpadConfigurer & | SetDatabaseUploadEnabled (bool enabled) |
void | Start () |
Private Attributes | |
std::string | mHandlerPath |
std::string | mDatabasePath |
std::string | mMetricsDir |
std::string | mURL |
std::vector< std::string > | mArguments |
std::map< std::string, std::string > | mAnnotations |
std::vector< std::string > | mAttachments |
bool | mDatabaseUploadsEnabled { false } |
Definition at line 7 of file CrashpadConfigurer.h.
CrashpadConfigurer & CrashpadConfigurer::SetAnnotations | ( | const std::map< std::string, std::string > & | annotations | ) |
Definition at line 39 of file CrashpadConfigurer.cpp.
References mAnnotations.
CrashpadConfigurer & CrashpadConfigurer::SetArguments | ( | const std::vector< std::string > & | arguments | ) |
Definition at line 33 of file CrashpadConfigurer.cpp.
References mArguments.
Referenced by anonymous_namespace{AudacityApp.cpp}::InitCrashreports().
CrashpadConfigurer & CrashpadConfigurer::SetAttachmentsUTF8 | ( | const std::vector< std::string > & | attachments | ) |
Definition at line 45 of file CrashpadConfigurer.cpp.
References mAttachments.
CrashpadConfigurer & CrashpadConfigurer::SetDatabasePathUTF8 | ( | const std::string & | database | ) |
Definition at line 15 of file CrashpadConfigurer.cpp.
References mDatabasePath.
Referenced by anonymous_namespace{AudacityApp.cpp}::InitCrashreports().
CrashpadConfigurer & CrashpadConfigurer::SetDatabaseUploadEnabled | ( | bool | enabled | ) |
Definition at line 51 of file CrashpadConfigurer.cpp.
References mDatabaseUploadsEnabled.
CrashpadConfigurer & CrashpadConfigurer::SetHandlerPathUTF8 | ( | const std::string & | handlerPath | ) |
Definition at line 9 of file CrashpadConfigurer.cpp.
References mHandlerPath.
Referenced by anonymous_namespace{AudacityApp.cpp}::InitCrashreports().
CrashpadConfigurer & CrashpadConfigurer::SetMetricsDirUTF8 | ( | const std::string & | metricsDir | ) |
Definition at line 21 of file CrashpadConfigurer.cpp.
References mMetricsDir.
Referenced by anonymous_namespace{AudacityApp.cpp}::InitCrashreports().
CrashpadConfigurer & CrashpadConfigurer::SetURL | ( | const std::string & | url | ) |
Definition at line 27 of file CrashpadConfigurer.cpp.
References mURL.
void CrashpadConfigurer::Start | ( | ) |
Definition at line 57 of file CrashpadConfigurer.cpp.
References Journal::Events::anonymous_namespace{JournalEvents.cpp}::Initialize(), mAnnotations, mArguments, mAttachments, mDatabasePath, mDatabaseUploadsEnabled, mHandlerPath, mMetricsDir, and mURL.
Referenced by anonymous_namespace{AudacityApp.cpp}::InitCrashreports().
|
private |
Definition at line 14 of file CrashpadConfigurer.h.
Referenced by SetAnnotations(), and Start().
|
private |
Definition at line 13 of file CrashpadConfigurer.h.
Referenced by SetArguments(), and Start().
|
private |
Definition at line 15 of file CrashpadConfigurer.h.
Referenced by SetAttachmentsUTF8(), and Start().
|
private |
Definition at line 10 of file CrashpadConfigurer.h.
Referenced by SetDatabasePathUTF8(), and Start().
|
private |
Definition at line 16 of file CrashpadConfigurer.h.
Referenced by SetDatabaseUploadEnabled(), and Start().
|
private |
Definition at line 9 of file CrashpadConfigurer.h.
Referenced by SetHandlerPathUTF8(), and Start().
|
private |
Definition at line 11 of file CrashpadConfigurer.h.
Referenced by SetMetricsDirUTF8(), and Start().
|
private |
Definition at line 12 of file CrashpadConfigurer.h.