From e2c57e31379cad583f5a7b4f8815d2bc972c62a5 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Wed, 1 Nov 2017 14:51:06 +0200 Subject: Implemented .NET logging library Completed protobuf compilation library. Implemented GUI app for protobuf compilation. Implemented CLI app for protobuf compilation. --- .../Tango.Protobuf/Compilers/PythonCompiler.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Software/Visual Studio/Tango.Protobuf/Compilers/PythonCompiler.cs (limited to 'Software/Visual Studio/Tango.Protobuf/Compilers/PythonCompiler.cs') diff --git a/Software/Visual Studio/Tango.Protobuf/Compilers/PythonCompiler.cs b/Software/Visual Studio/Tango.Protobuf/Compilers/PythonCompiler.cs new file mode 100644 index 000000000..e3c3ebbd7 --- /dev/null +++ b/Software/Visual Studio/Tango.Protobuf/Compilers/PythonCompiler.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.Protobuf.Compilers +{ + /// + /// Represents a protobuf Python Compiler. + /// + /// + public class PythonCompiler : ProtoCompiler + { + /// + /// Gets the compiler language. + /// + public override CompilerLanguage Language => CompilerLanguage.Python; + + /// + /// Gets the protobuf compiler CLI arguments (without input/output files!). + /// + /// + protected override string GetProtoArguments() + { + return "--python_out"; + } + } +} -- cgit v1.3.1