2020-12-31 09:48:25 +01:00
|
|
|
// Copyright (c) 2018-2020 The Bitcoin Core developers
|
2019-12-07 18:14:40 +02:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2018-03-29 10:56:04 -04:00
|
|
|
#ifndef BITCOIN_QT_TEST_UTIL_H
|
|
|
|
#define BITCOIN_QT_TEST_UTIL_H
|
|
|
|
|
2022-01-06 18:30:58 +02:00
|
|
|
#include <chrono>
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class QString;
|
|
|
|
QT_END_NAMESPACE
|
2018-11-13 16:49:34 +09:00
|
|
|
|
2018-03-29 10:56:04 -04:00
|
|
|
/**
|
|
|
|
* Press "Ok" button in message box dialog.
|
|
|
|
*
|
|
|
|
* @param text - Optionally store dialog text.
|
2018-08-14 09:27:30 +02:00
|
|
|
* @param msec - Number of milliseconds to pause before triggering the callback.
|
2018-03-29 10:56:04 -04:00
|
|
|
*/
|
2022-01-06 18:30:58 +02:00
|
|
|
void ConfirmMessage(QString* text, std::chrono::milliseconds msec);
|
2018-03-29 10:56:04 -04:00
|
|
|
|
|
|
|
#endif // BITCOIN_QT_TEST_UTIL_H
|