initial commit
[libtpproto-csharp.git] / codegenerator / Program.cs
blob421e7954408671ce558bb6d5550647bc2d2ec7d6
1 /*
2 * License: GPLv3+
3 * Created at ${TIME} ${DATE}
4 *
5 * Author: Marcel Hauf
6 */
7 using System;
9 namespace TPCodeGenerator
11 class Program
13 public static void Main(string[] args)
15 Console.WriteLine("Generating tpproto-csharp code...");
16 // TODO: Add support for different languages (CSharp and VisualBasic)
17 Generator cg = new Generator();
18 cg.GenerateCode("protocol.xml", ".", Language.CSharp);
20 Console.Write("Press any key to continue . . . ");
21 Console.ReadKey(true);