mirror of
https://github.com/ZmnSCPxj/clboss.git
synced 2026-08-14 12:43:19 +02:00
20 lines
362 B
C++
20 lines
362 B
C++
#ifndef LN_COMMANDID_HPP
|
|
#define LN_COMMANDID_HPP
|
|
|
|
#include"Util/Either.hpp"
|
|
#include<cstdint>
|
|
#include<memory>
|
|
#include<string>
|
|
|
|
namespace Jsmn { class Object; }
|
|
|
|
namespace Ln {
|
|
|
|
typedef Util::Either<std::uint64_t, std::string> CommandId;
|
|
|
|
std::unique_ptr<CommandId>
|
|
command_id_from_jsmn_object(Jsmn::Object const&);
|
|
|
|
}
|
|
|
|
#endif /* !defined(LN_COMMANDID_HPP) */
|