blob: bd2923edebbc2ba6af92470a366f4f583c382d00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
}
}
|