From 60fdfdcdcf9fb2a8adf15c688e4b7b105abeb9b9 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 30 Sep 2007 12:33:27 +0000 Subject: [PATCH] Preparatory stuff for naming convention changes. --- Source/Bind/Settings.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Source/Bind/Settings.cs b/Source/Bind/Settings.cs index e7efbf1e..02640496 100644 --- a/Source/Bind/Settings.cs +++ b/Source/Bind/Settings.cs @@ -24,8 +24,19 @@ namespace Bind public static string FunctionPrefix = "gl"; public static string ConstantPrefix = "GL_"; + // TODO: This code is too fragile. public static string NestedEunmsClass = "Enums"; - public static string NormalEnumsClass = OutputClass + "." + NestedEunmsClass; + private static string normalEnumsClassOverride; + public static string NormalEnumsClass + { + get + { + if (!String.IsNullOrEmpty(normalEnumsClassOverride)) + return normalEnumsClassOverride; + return OutputClass + "." + NestedEunmsClass; + } + set { normalEnumsClassOverride = value; } + } public static string AuxEnumsClass = "GL." + NestedEunmsClass; public static string DelegatesClass = "Delegates";