diff options
Diffstat (limited to 'Software/Tango.NET/Tango.Protobuf/IProtoCompiler.cs')
| -rw-r--r-- | Software/Tango.NET/Tango.Protobuf/IProtoCompiler.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Software/Tango.NET/Tango.Protobuf/IProtoCompiler.cs b/Software/Tango.NET/Tango.Protobuf/IProtoCompiler.cs new file mode 100644 index 000000000..bd2923ede --- /dev/null +++ b/Software/Tango.NET/Tango.Protobuf/IProtoCompiler.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.Protobuf +{ + /// <summary> + /// Represents a protobuf messages compiler. + /// </summary> + public interface IProtoCompiler : IDisposable + { + /// <summary> + /// Compiles the specified .proto message file and saves the result at the specified output folder. + /// </summary> + /// <param name="inputFile">.proto file to compile</param> + /// <param name="outputFolder">Output folder to save the resulted source code.</param> + /// <returns>A list of output source code files.</returns> + List<String> Compile(String inputFile, String outputFolder); + } +} |
