diff options
author | vitalyisaev <vitalyisaev@ydb.tech> | 2023-11-30 13:26:22 +0300 |
---|---|---|
committer | vitalyisaev <vitalyisaev@ydb.tech> | 2023-11-30 15:44:45 +0300 |
commit | 0a98fece5a9b54f16afeb3a94b3eb3105e9c3962 (patch) | |
tree | 291d72dbd7e9865399f668c84d11ed86fb190bbf /tools/event2cpp/proto_events.h | |
parent | cb2c8d75065e5b3c47094067cb4aa407d4813298 (diff) | |
download | ydb-0a98fece5a9b54f16afeb3a94b3eb3105e9c3962.tar.gz |
YQ Connector:Use docker-compose in integrational tests
Diffstat (limited to 'tools/event2cpp/proto_events.h')
-rw-r--r-- | tools/event2cpp/proto_events.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/event2cpp/proto_events.h b/tools/event2cpp/proto_events.h new file mode 100644 index 0000000000..628b4856af --- /dev/null +++ b/tools/event2cpp/proto_events.h @@ -0,0 +1,20 @@ +#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 |