gros push encore

This commit is contained in:
2024-10-07 19:48:36 +02:00
parent 701b815dc1
commit 77317df56c
28 changed files with 777 additions and 105 deletions

View File

@@ -0,0 +1,18 @@
#define TD_INSTANCIATE_COMMANDS
#include <td/protocol/command/Commands.h>
#include <td/protocol/command/CommandVisitor.h>
namespace td {
namespace protocol {
template <CommandType CT, typename Data>
commands::ConcreteCommand<CT, Data>::ConcreteCommand(const CommandDataType& a_Data) : m_Data(a_Data) {}
template <CommandType CT, typename Data>
void commands::ConcreteCommand<CT, Data>::Accept(CommandVisitor& a_Visitor) const {
a_Visitor.Visit(*this);
}
} // namespace protocol
} // namespace td