Make crash dump uploading configurable

refs #490
This commit is contained in:
Roland Winklmeier
2016-07-29 16:56:43 +02:00
parent e47aec223e
commit 78eeecf052
7 changed files with 205 additions and 3 deletions

View File

@@ -91,6 +91,17 @@ namespace BlackCore
};
}
};
//! Uploading of crash dumps is enabled or disabled
struct TCrashDumpUploadEnabled : public BlackMisc::TSettingTrait<bool>
{
//! \copydoc BlackCore::TSettingTrait::key
static const char *key() { return "application/crashdumpuploadenabled"; }
//! \copydoc BlackCore::TSettingTrait::defaultValue
static bool defaultValue() { return true; }
};
} // ns
} // ns