/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tools/event2cpp/proto_events.h
20 строк
651 B
qkrorlqr
Initial NBS OpenSource export
28 апр 2023, 21:54
28 апр 2023, 21:54
783a858
Код
Авторство
О чём код?
#pragma once #include <google/protobuf/compiler/plugin.h> #include <google/protobuf/compiler/code_generator.h> #include <google/protobuf/stubs/common.h> namespace NProtoBuf::NCompiler::NPlugins { class TProtoEventExtensionGenerator : public google::protobuf::compiler::CodeGenerator { public: TProtoEventExtensionGenerator() {} ~TProtoEventExtensionGenerator() override {} bool Generate(const google::protobuf::FileDescriptor* file, const TProtoStringType& parameter, google::protobuf::compiler::OutputDirectory* output_directory, TProtoStringType* error) const override; }; } // namespace NProtoBuf::NCompiler::NPlugins