Fixed console output regarding the WriteEnums/Delegates/Imports functions.

This commit is contained in:
the_fiddler 2007-10-26 12:57:03 +00:00
parent 7beae7311b
commit 401686381c

View file

@ -601,7 +601,7 @@ namespace Bind.GL2
public virtual void WriteDelegates(BindStreamWriter sw, DelegateCollection delegates) public virtual void WriteDelegates(BindStreamWriter sw, DelegateCollection delegates)
{ {
Trace.WriteLine(String.Format("Writing delegates to {0}.{1}", Settings.OutputNamespace, Settings.DelegatesClass)); Trace.WriteLine(String.Format("Writing delegates to:\t{0}.{1}.{2}", Settings.OutputNamespace, Settings.OutputClass, Settings.DelegatesClass));
sw.WriteLine(); sw.WriteLine();
sw.WriteLine("partial class {0}", Settings.OutputClass); sw.WriteLine("partial class {0}", Settings.OutputClass);
@ -635,7 +635,7 @@ namespace Bind.GL2
public virtual void WriteImports(BindStreamWriter sw, DelegateCollection delegates) public virtual void WriteImports(BindStreamWriter sw, DelegateCollection delegates)
{ {
Trace.WriteLine(String.Format("Writing imports to {0}.{1}", Settings.OutputNamespace, Settings.ImportsClass)); Trace.WriteLine(String.Format("Writing imports to:\t{0}.{1}.{2}", Settings.OutputNamespace, Settings.OutputClass, Settings.ImportsClass));
sw.WriteLine(); sw.WriteLine();
sw.WriteLine("partial class {0}", Settings.OutputClass); sw.WriteLine("partial class {0}", Settings.OutputClass);
@ -674,7 +674,7 @@ namespace Bind.GL2
public void WriteWrappers(BindStreamWriter sw, FunctionCollection wrappers, Dictionary<string, string> CSTypes) public void WriteWrappers(BindStreamWriter sw, FunctionCollection wrappers, Dictionary<string, string> CSTypes)
{ {
Trace.WriteLine(String.Format("Writing wrappers to {0}.{1}", Settings.OutputNamespace, Settings.OutputClass)); Trace.WriteLine(String.Format("Writing wrappers to:\t{0}.{1}", Settings.OutputNamespace, Settings.OutputClass));
sw.WriteLine(); sw.WriteLine();
sw.WriteLine("public static partial class {0}", Settings.OutputClass); sw.WriteLine("public static partial class {0}", Settings.OutputClass);
@ -742,7 +742,7 @@ namespace Bind.GL2
public void WriteEnums(BindStreamWriter sw, EnumCollection enums) public void WriteEnums(BindStreamWriter sw, EnumCollection enums)
{ {
Trace.WriteLine(String.Format("Writing enums to {0}.{1}", Settings.OutputNamespace, Settings.OutputClass)); Trace.WriteLine(String.Format("Writing enums to:\t{0}.{1}.{2}", Settings.OutputNamespace, Settings.OutputClass, Settings.NestedEnumsClass));
if ((Settings.Compatibility & Settings.Legacy.ConstIntEnums) == Settings.Legacy.None) if ((Settings.Compatibility & Settings.Legacy.ConstIntEnums) == Settings.Legacy.None)
{ {