diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2014-02-12 15:27:56 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2014-02-12 15:27:56 +0400 |
commit | 5a2a4c1f35ab45b0f880e54139a142d3a862334f (patch) | |
tree | ca6a4e49109adbb2989e7337ed5c58c4edd83740 /Xwt | |
parent | 1cb1e13f0aea6d723df13ac23bbbffebaefac0e3 (diff) |
[Toolkit] Added public method for registering backends
Diffstat (limited to 'Xwt')
-rw-r--r-- | Xwt/Xwt/Toolkit.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Xwt/Xwt/Toolkit.cs b/Xwt/Xwt/Toolkit.cs index 113f0610..9c1b0239 100644 --- a/Xwt/Xwt/Toolkit.cs +++ b/Xwt/Xwt/Toolkit.cs @@ -408,6 +408,11 @@ namespace Xwt get { return backend.SupportedFeatures; } } + public void RegisterBackend<TBackend, TImplementation> () where TImplementation: TBackend + { + backend.RegisterBackend<TBackend, TImplementation> (); + } + internal Image GetStockIcon (string id) { Image img; |