mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 07:21:14 +00:00
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:
parent
f000bda891
commit
ffc79a749b
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue