Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.h
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2019 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_QT_BITCOINGUI_H | #ifndef BITCOIN_QT_BITCOINGUI_H | ||||
#define BITCOIN_QT_BITCOINGUI_H | #define BITCOIN_QT_BITCOINGUI_H | ||||
#if defined(HAVE_CONFIG_H) | #if defined(HAVE_CONFIG_H) | ||||
#include <config/bitcoin-config.h> | #include <config/bitcoin-config.h> | ||||
▲ Show 20 Lines • Show All 198 Lines • ▼ Show 20 Lines | /** Notify the user of an event from the core network or transaction | ||||
@see CClientUIInterface::MessageBoxFlags | @see CClientUIInterface::MessageBoxFlags | ||||
@param[in] ret pointer to a bool that will be modified to whether | @param[in] ret pointer to a bool that will be modified to whether | ||||
Ok was clicked (modal only) | Ok was clicked (modal only) | ||||
*/ | */ | ||||
void message(const QString &title, const QString &message, | void message(const QString &title, const QString &message, | ||||
unsigned int style, bool *ret = nullptr); | unsigned int style, bool *ret = nullptr); | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
bool setCurrentWallet(const QString &name); | bool setCurrentWallet(WalletModel *wallet_model); | ||||
bool setCurrentWalletBySelectorIndex(int index); | bool setCurrentWalletBySelectorIndex(int index); | ||||
/** Set the UI status indicators based on the currently selected wallet. | /** Set the UI status indicators based on the currently selected wallet. | ||||
*/ | */ | ||||
void updateWalletStatus(); | void updateWalletStatus(); | ||||
private: | private: | ||||
/** Set the encryption status as shown in the UI. | /** Set the encryption status as shown in the UI. | ||||
@param[in] status current encryption status | @param[in] status current encryption status | ||||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |