Changeset View
Changeset View
Standalone View
Standalone View
src/ui_interface.h
// Copyright (c) 2010 Satoshi Nakamoto | // Copyright (c) 2010 Satoshi Nakamoto | ||||
// Copyright (c) 2012-2016 The Bitcoin Core developers | // Copyright (c) 2012-2016 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_UI_INTERFACE_H | #ifndef BITCOIN_UI_INTERFACE_H | ||||
#define BITCOIN_UI_INTERFACE_H | #define BITCOIN_UI_INTERFACE_H | ||||
#include <cstdint> | #include <cstdint> | ||||
#include <memory> | |||||
#include <string> | #include <string> | ||||
#include <boost/signals2/last_value.hpp> | #include <boost/signals2/last_value.hpp> | ||||
#include <boost/signals2/signal.hpp> | #include <boost/signals2/signal.hpp> | ||||
class CWallet; | class CWallet; | ||||
class CBlockIndex; | class CBlockIndex; | ||||
▲ Show 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | boost::signals2::signal<void(bool networkActive)> | ||||
NotifyNetworkActiveChanged; | NotifyNetworkActiveChanged; | ||||
/** | /** | ||||
* Status bar alerts changed. | * Status bar alerts changed. | ||||
*/ | */ | ||||
boost::signals2::signal<void()> NotifyAlertChanged; | boost::signals2::signal<void()> NotifyAlertChanged; | ||||
/** A wallet has been loaded. */ | /** A wallet has been loaded. */ | ||||
boost::signals2::signal<void(CWallet *wallet)> LoadWallet; | boost::signals2::signal<void(std::shared_ptr<CWallet> wallet)> LoadWallet; | ||||
/** | /** | ||||
* Show progress e.g. for verifychain. | * Show progress e.g. for verifychain. | ||||
* resume_possible indicates shutting down now will result in the current | * resume_possible indicates shutting down now will result in the current | ||||
* progress action resuming upon restart. | * progress action resuming upon restart. | ||||
*/ | */ | ||||
boost::signals2::signal<void(const std::string &title, int nProgress, | boost::signals2::signal<void(const std::string &title, int nProgress, | ||||
bool resume_possible)> | bool resume_possible)> | ||||
Show All 26 Lines |