From 914f4db513477d9aff726546bac47545195a3e37 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 16 Nov 2017 13:38:56 +0200 Subject: Rename "Visual Studio" to "Visual_Studio" Rename "External Repositories" to "External_Repositories". --- .../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