mirror of
https://github.com/ZmnSCPxj/clboss.git
synced 2026-08-13 12:33:20 +02:00
25 lines
498 B
C++
25 lines
498 B
C++
#ifndef BOSS_MSG_COMMANDREQUEST_HPP
|
|
#define BOSS_MSG_COMMANDREQUEST_HPP
|
|
|
|
#include"Jsmn/Object.hpp"
|
|
#include"Ln/CommandId.hpp"
|
|
#include<cstdint>
|
|
#include<string>
|
|
|
|
namespace Boss { namespace Msg {
|
|
|
|
/** struct Boss::Msg::CommandRequest
|
|
*
|
|
* @brief emitted whenever a command or hook is
|
|
* received on stdin.
|
|
* Respond by Boss::Msg::CommandResponse.
|
|
*/
|
|
struct CommandRequest {
|
|
std::string command;
|
|
Jsmn::Object params;
|
|
Ln::CommandId id;
|
|
};
|
|
|
|
}}
|
|
|
|
#endif /* !defined(BOSS_MSG_COMMANDREQUEST_HPP) */
|