Constrain constant values to a single location in code

This commit is contained in:
Luke Dashjr
2015-06-27 19:21:41 +00:00
committed by MarcoFalke
parent 92aa7311d6
commit b966aa836a
24 changed files with 118 additions and 78 deletions

View File

@@ -51,6 +51,13 @@ extern bool fLogIPs;
extern volatile bool fReopenDebugLog;
extern CTranslationInterface translationInterface;
extern const char * const BITCOIN_CONF_FILENAME;
extern const char * const BITCOIN_PID_FILENAME;
static const bool DEFAULT_SELFSIGNED_ROOTCERTS = false;
static const bool DEFAULT_CHOOSE_DATADIR = false;
static const bool DEFAULT_SPLASHSCREEN = true;
/**
* Translation function: Call Translate signal on UI interface, which returns a boost::optional result.
* If no translation slot is registered, nothing is returned, and simply return the input.