carb::crashreporter::isExtraCrashFileKeyUsed

Defined in carb/crashreporter/CrashReporterUtils.h

inline bool carb::crashreporter::isExtraCrashFileKeyUsed(const char *keyName)

Checks whether a key for an extra crash report file has already been used.

Remark

When adding new extra files to a crash report, it is the caller’s responsibility that an existing filename will not be overwritten by addExtraCrashFile(). This function can be used to check whether a given key had already been used to add an extra file to the crash report.

Parameters

keyName[in] The name of the key to be used. This will be used to identify the extra file in the settings registry. See addExtraCrashFile() for more information on how this value is used.

Returns

true if the crash file key has been used already. Returns false otherwise.