/[RomCheater]/trunk/RomCheater.PluginFramework/Core/PluginBase.cs
ViewVC logotype

Diff of /trunk/RomCheater.PluginFramework/Core/PluginBase.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater.PluginFramework/Core/PluginBase.cs	2013/06/17 10:53:53	695
+++ trunk/RomCheater.PluginFramework/Core/PluginBase.cs	2013/06/17 11:47:23	696
@@ -18,7 +18,21 @@
 
         public virtual bool IsNullPlugin { get { return false; } }
         public virtual bool IsGenericPlugin { get { return false; } }
-
+        public IWebBrowserInterface WebBrowserInterface
+        {
+            get
+            {
+                if (this.AcceptedConfig != null)
+                {
+                    if (this.AcceptedConfig.WebBrowserProvider != null)
+                    {
+                        return this.AcceptedConfig.WebBrowserProvider.GetProvider();
+                    }
+                }
+                return new EmptyWebBrowserProvider();
+            }
+        }
+   
 
         public void ReadProcessMemory(ulong MemoryAddress, ulong bytesToRead, out ulong bytesRead, out byte[] data)
         {

 

  ViewVC Help
Powered by ViewVC 1.1.22