mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 16:56:48 +00:00
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com> Co-authored-by: Bart <bthomee@users.noreply.github.com>
17 lines
272 B
C++
17 lines
272 B
C++
#pragma once
|
|
|
|
#include <functional>
|
|
#include <memory>
|
|
|
|
namespace beast::insight {
|
|
|
|
class HookImpl : public std::enable_shared_from_this<HookImpl>
|
|
{
|
|
public:
|
|
using HandlerType = std::function<void(void)>;
|
|
|
|
virtual ~HookImpl() = 0;
|
|
};
|
|
|
|
} // namespace beast::insight
|