aboutsummaryrefslogtreecommitdiff
path: root/contrib/protoc-bnet/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/protoc-bnet/main.cpp')
-rw-r--r--contrib/protoc-bnet/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/protoc-bnet/main.cpp b/contrib/protoc-bnet/main.cpp
new file mode 100644
index 00000000000..7fc55c88293
--- /dev/null
+++ b/contrib/protoc-bnet/main.cpp
@@ -0,0 +1,8 @@
+#include "BnetCodeGenerator.h"
+#include <google/protobuf/compiler/plugin.h>
+
+int main(int argc, char* argv[])
+{
+ BnetCodeGenerator gen;
+ return google::protobuf::compiler::PluginMain(argc, argv, &gen);
+}