aboutsummaryrefslogtreecommitdiffstats
path: root/tools/event2cpp/proto_events.h
diff options
context:
space:
mode:
authorvitalyisaev <vitalyisaev@ydb.tech>2023-11-30 13:26:22 +0300
committervitalyisaev <vitalyisaev@ydb.tech>2023-11-30 15:44:45 +0300
commit0a98fece5a9b54f16afeb3a94b3eb3105e9c3962 (patch)
tree291d72dbd7e9865399f668c84d11ed86fb190bbf /tools/event2cpp/proto_events.h
parentcb2c8d75065e5b3c47094067cb4aa407d4813298 (diff)
downloadydb-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.h20
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