|
|
|
|
@ -55,15 +55,20 @@ namespace CppSharp.Generators
@@ -55,15 +55,20 @@ namespace CppSharp.Generators
|
|
|
|
|
WriteLine("{0}", lineCommentEpilogue); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public virtual void GenerateFilePreamble() |
|
|
|
|
{ |
|
|
|
|
public virtual void GenerateFilePreamble(RawCommentKind kind) |
|
|
|
|
{ |
|
|
|
|
var lines = new List<string> |
|
|
|
|
{ |
|
|
|
|
"----------------------------------------------------------------------------", |
|
|
|
|
"<auto-generated>", |
|
|
|
|
"This is autogenerated code by CppSharp.", |
|
|
|
|
"Do not edit this file or all your changes will be lost after re-generation.", |
|
|
|
|
"</auto-generated>", |
|
|
|
|
"----------------------------------------------------------------------------" |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
PushBlock(BlockKind.Header); |
|
|
|
|
WriteLine("//----------------------------------------------------------------------------"); |
|
|
|
|
WriteLine("// <auto-generated>"); |
|
|
|
|
WriteLine("// This is autogenerated code by CppSharp."); |
|
|
|
|
WriteLine("// Do not edit this file or all your changes will be lost after re-generation."); |
|
|
|
|
WriteLine("// </auto-generated>"); |
|
|
|
|
WriteLine("//----------------------------------------------------------------------------"); |
|
|
|
|
GenerateMultiLineComment(lines, kind); |
|
|
|
|
PopBlock(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|