Changeset View
Changeset View
Standalone View
Standalone View
src/qt/intro.h
Show All 33 Lines | public: | ||||
~Intro(); | ~Intro(); | ||||
QString getDataDirectory(); | QString getDataDirectory(); | ||||
void setDataDirectory(const QString &dataDir); | void setDataDirectory(const QString &dataDir); | ||||
/** | /** | ||||
* Determine data directory. Let the user choose if the current one doesn't | * Determine data directory. Let the user choose if the current one doesn't | ||||
* exist. | * exist. | ||||
* Let the user configure additional preferences such as pruning. | |||||
* | * | ||||
* @returns true if a data directory was selected, false if the user | * @returns true if a data directory was selected, false if the user | ||||
* cancelled the selection | * cancelled the selection | ||||
* dialog. | * dialog. | ||||
* | * | ||||
* @note do NOT call global GetDataDir() before calling this function, this | * @note do NOT call global GetDataDir() before calling this function, this | ||||
* will cause the wrong path to be cached. | * will cause the wrong path to be cached. | ||||
*/ | */ | ||||
static bool showIfNeeded(interfaces::Node &node, bool &did_show_intro); | static bool showIfNeeded(interfaces::Node &node, bool &did_show_intro, | ||||
bool &prune); | |||||
/** | /** | ||||
* Determine default data directory for operating system. | * Determine default data directory for operating system. | ||||
*/ | */ | ||||
static QString getDefaultDataDirectory(); | static QString getDefaultDataDirectory(); | ||||
Q_SIGNALS: | Q_SIGNALS: | ||||
void requestCheck(); | void requestCheck(); | ||||
Show All 27 Lines |