mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-11 08:07:33 +02:00
signals: remove forward-declare for signals
This eases the transition to a replacement signals implementation
This commit is contained in:
@@ -5,15 +5,11 @@
|
||||
#ifndef BITCOIN_INTERFACES_HANDLER_H
|
||||
#define BITCOIN_INTERFACES_HANDLER_H
|
||||
|
||||
#include <btcsignals.h>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
namespace boost {
|
||||
namespace signals2 {
|
||||
class connection;
|
||||
} // namespace signals2
|
||||
} // namespace boost
|
||||
|
||||
namespace interfaces {
|
||||
|
||||
//! Generic interface for managing an event handler or callback function
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
#ifndef BITCOIN_NODE_INTERFACE_UI_H
|
||||
#define BITCOIN_NODE_INTERFACE_UI_H
|
||||
|
||||
#include <btcsignals.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <string>
|
||||
@@ -15,12 +17,6 @@ class CBlockIndex;
|
||||
enum class SynchronizationState;
|
||||
struct bilingual_str;
|
||||
|
||||
namespace boost {
|
||||
namespace signals2 {
|
||||
class connection;
|
||||
}
|
||||
} // namespace boost
|
||||
|
||||
/** Signals for UI communication. */
|
||||
class CClientUIInterface
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user