mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-11 08:07:33 +02:00
signals: re-add forward-declares to interface headers
The real includes were only needed temporarily while supporting btcsignals as an alias for boost::signals2.
This commit is contained in:
@@ -5,11 +5,13 @@
|
||||
#ifndef BITCOIN_INTERFACES_HANDLER_H
|
||||
#define BITCOIN_INTERFACES_HANDLER_H
|
||||
|
||||
#include <btcsignals.h>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
namespace btcsignals {
|
||||
class connection;
|
||||
} // namespace btcsignals
|
||||
|
||||
namespace interfaces {
|
||||
|
||||
//! Generic interface for managing an event handler or callback function
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
#ifndef BITCOIN_NODE_INTERFACE_UI_H
|
||||
#define BITCOIN_NODE_INTERFACE_UI_H
|
||||
|
||||
#include <btcsignals.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <string>
|
||||
@@ -17,6 +15,10 @@ class CBlockIndex;
|
||||
enum class SynchronizationState;
|
||||
struct bilingual_str;
|
||||
|
||||
namespace btcsignals {
|
||||
class connection;
|
||||
} // namespace btcsignals
|
||||
|
||||
/** Signals for UI communication. */
|
||||
class CClientUIInterface
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user