Changeset View
Changeset View
Standalone View
Standalone View
src/qt/test/util.h
// Copyright (c) 2018-2019 The Bitcoin developers | |||||
// Distributed under the MIT software license, see the accompanying | |||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | |||||
#ifndef BITCOIN_QT_TEST_UTIL_H | #ifndef BITCOIN_QT_TEST_UTIL_H | ||||
#define BITCOIN_QT_TEST_UTIL_H | #define BITCOIN_QT_TEST_UTIL_H | ||||
class QString; | class QString; | ||||
/** | /** | ||||
* Press "Ok" button in message box dialog. | * Press "Ok" button in message box dialog. | ||||
* | * | ||||
* @param text - Optionally store dialog text. | * @param text - Optionally store dialog text. | ||||
* @param msec - Number of milliseconds to pause before triggering the callback. | * @param msec - Number of milliseconds to pause before triggering the callback. | ||||
*/ | */ | ||||
void ConfirmMessage(QString *text = nullptr, int msec = 0); | void ConfirmMessage(QString *text = nullptr, int msec = 0); | ||||
#endif // BITCOIN_QT_TEST_UTIL_H | #endif // BITCOIN_QT_TEST_UTIL_H |