Settings, GLTypes and CSTypes are now in IBind

Settings, GLTypes and CSTypes are no longer global singletons. Instead,
explicit instances must be stored in the IBind implementation. This
allows us to use multiple configurations in the same process.
This commit is contained in:
Stefanos A. 2013-11-01 09:06:49 +01:00
parent f000bda891
commit ffc79a749b

View file

@ -5,6 +5,8 @@
#endregion #endregion
using Bind.Structures; using Bind.Structures;
using System.Collections.Generic;
namespace Bind namespace Bind
{ {
interface IBind interface IBind
@ -12,6 +14,11 @@ namespace Bind
DelegateCollection Delegates { get; } DelegateCollection Delegates { get; }
EnumCollection Enums { get; } EnumCollection Enums { get; }
FunctionCollection Wrappers { get; } FunctionCollection Wrappers { get; }
Settings Settings { get; }
IDictionary<string, string> GLTypes { get; }
IDictionary<string, string> CSTypes { get; }
void Process(); void Process();
} }
} }