mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
481 B
25 lines
481 B
namespace CppSharp.Generators |
|
{ |
|
public enum LanguageGeneratorKind |
|
{ |
|
CPlusPlusCLI, |
|
CSharp |
|
} |
|
|
|
public interface IGenerator |
|
{ |
|
bool Generate(TranslationUnit unit); |
|
} |
|
|
|
public abstract class Generator : IGenerator |
|
{ |
|
public Driver Driver { get; private set; } |
|
|
|
protected Generator(Driver driver) |
|
{ |
|
Driver = driver; |
|
} |
|
|
|
public abstract bool Generate(TranslationUnit unit); |
|
} |
|
} |