mirror of
https://github.com/ZmnSCPxj/clboss.git
synced 2026-08-15 12:50:42 +02:00
28 lines
513 B
C++
28 lines
513 B
C++
#ifndef BOSS_MSG_INIT_HPP
|
|
#define BOSS_MSG_INIT_HPP
|
|
|
|
#include"Boss/Msg/Network.hpp"
|
|
#include"Ln/NodeId.hpp"
|
|
#include"Sqlite3/Db.hpp"
|
|
|
|
namespace Boss { namespace Mod { class Rpc; }}
|
|
namespace Net { class Connector; }
|
|
|
|
namespace Boss { namespace Msg {
|
|
|
|
/** struct Boss::Msg::Init
|
|
*
|
|
* @brief emitted when the `init` command is
|
|
* performed.
|
|
*/
|
|
struct Init {
|
|
Network network;
|
|
Boss::Mod::Rpc& rpc;
|
|
Ln::NodeId self_id;
|
|
Sqlite3::Db db;
|
|
Net::Connector& connector;
|
|
};
|
|
|
|
}}
|
|
|
|
#endif /* !defined(BOSS_MSG_INIT_HPP) */
|