mirror of
https://github.com/ZmnSCPxj/clboss.git
synced 2026-08-14 12:43:19 +02:00
25 lines
391 B
C++
25 lines
391 B
C++
#ifndef BOSS_MOD_COMMANDRECEIVER_HPP
|
|
#define BOSS_MOD_COMMANDRECEIVER_HPP
|
|
|
|
#include"Ln/CommandId.hpp"
|
|
#include<cstdint>
|
|
#include<set>
|
|
|
|
namespace S { class Bus; }
|
|
|
|
namespace Boss { namespace Mod {
|
|
|
|
class CommandReceiver {
|
|
private:
|
|
S::Bus& bus;
|
|
|
|
std::set<Ln::CommandId> pendings;
|
|
|
|
public:
|
|
explicit
|
|
CommandReceiver(S::Bus& bus_);
|
|
};
|
|
|
|
}}
|
|
|
|
#endif /* !defined(BOSS_MOD_COMMANDRECEIVER_HPP) */
|