mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). This change specifically removes all copyright notices referencing Ripple, XRPLF, and certain affiliated contributors upon mutual agreement, so the notice in the LICENSE.md file applies throughout. Copyright notices referencing external contributions remain as-is. Duplicate verbiage is also removed.
22 lines
377 B
C++
22 lines
377 B
C++
#ifndef BEAST_INSIGHT_HOOKIMPL_H_INCLUDED
|
|
#define BEAST_INSIGHT_HOOKIMPL_H_INCLUDED
|
|
|
|
#include <functional>
|
|
#include <memory>
|
|
|
|
namespace beast {
|
|
namespace insight {
|
|
|
|
class HookImpl : public std::enable_shared_from_this<HookImpl>
|
|
{
|
|
public:
|
|
using HandlerType = std::function<void(void)>;
|
|
|
|
virtual ~HookImpl() = 0;
|
|
};
|
|
|
|
} // namespace insight
|
|
} // namespace beast
|
|
|
|
#endif
|