#ifndef BOSS_MOD_CHANNELFUNDSCOMPUTER_HPP #define BOSS_MOD_CHANNELFUNDSCOMPUTER_HPP namespace Boss { namespace Msg { struct ListfundsResult; }} namespace Ev { template class Io; } namespace S { class Bus; } namespace Boss { namespace Mod { class ChannelFundsComputer { private: S::Bus& bus; void start(); Ev::Io on_listfunds(Msg::ListfundsResult const&); public: ChannelFundsComputer() =delete; ChannelFundsComputer(ChannelFundsComputer const&) =delete; ChannelFundsComputer(ChannelFundsComputer&&) =delete; explicit ChannelFundsComputer(S::Bus& bus_) : bus(bus_) { start(); } }; }} #endif /* !defined(BOSS_MOD_CHANNELFUNDSCOMPUTER_HPP) */