signals: remove forward-declare for signals

This eases the transition to a replacement signals implementation
This commit is contained in:
Cory Fields
2022-09-26 21:10:41 +00:00
parent 037e58b57b
commit 9ade3929aa
2 changed files with 4 additions and 12 deletions

View File

@@ -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

View File

@@ -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
{