/[RomCheater]/trunk/RomCheater.Core/PluginInterfaces.cs
ViewVC logotype

Diff of /trunk/RomCheater.Core/PluginInterfaces.cs

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

revision 686 by william, Mon Jun 17 09:31:52 2013 UTC revision 717 by william, Tue Jun 18 11:27:53 2013 UTC
# Line 4  using System.Linq; Line 4  using System.Linq;
4  using System.Text;  using System.Text;
5  using WeifenLuo.WinFormsUI.Docking;  using WeifenLuo.WinFormsUI.Docking;
6  using System.Diagnostics;  using System.Diagnostics;
7    using ManagedWinapi;
8    
9  namespace RomCheater.Core  namespace RomCheater.Core
10  {  {
# Line 24  namespace RomCheater.Core Line 25  namespace RomCheater.Core
25      {      {
26          bool IsNullPlugin { get; }          bool IsNullPlugin { get; }
27          bool IsGenericPlugin { get; }          bool IsGenericPlugin { get; }
28    
29            void ReadProcessMemory(ulong MemoryAddress, ulong bytesToRead, out ulong bytesRead, out byte[] data);
30            void WriteProcessMemory(long MemoryAddress, byte[] bytesToWrite, out ulong bytesWritten);
31            List<MEMORY_REGION_INFORMATION> QueryMemoryRegions();
32    
33            void RaisePluginFrameworkEvents();
34    
35            IWebBrowserInterface WebBrowserInterface { get; }
36    
37    
38      }      }
39      #region IPluginBase SubMembers      #region IPluginBase SubMembers
40      public interface IToString { string ToString();    }      public interface IToString { string ToString();    }
# Line 37  namespace RomCheater.Core Line 48  namespace RomCheater.Core
48      public interface IConfigPlugin : IPluginBase, IAcceptsReadOnlyMemoryRange, ISearchInProgress, IAcceptsMemorySearch      public interface IConfigPlugin : IPluginBase, IAcceptsReadOnlyMemoryRange, ISearchInProgress, IAcceptsMemorySearch
49      {      {
50          List<ProcContainer> ValidProcessesForPlugin { get; }          List<ProcContainer> ValidProcessesForPlugin { get; }
51            IWebBrowserProvider WebBrowserProvider { get; set; }
52      }      }
53      #endregion      #endregion
54      #region IInputPlugin      #region IInputPlugin
# Line 56  namespace RomCheater.Core Line 68  namespace RomCheater.Core
68          void Show(DockPanel dockPanel);          void Show(DockPanel dockPanel);
69          void Show(DockPanel dockPanel, DockState dockState);          void Show(DockPanel dockPanel, DockState dockState);
70          void Config();          void Config();
71    
72            void Activate();
73            void Close();
74            DockContentHandler DockHandler { get; }
75            IDockContent DockContent { get; }
76            string IDockContentTypeName { get; }
77      }      }
78      #endregion      #endregion
79      #region IPluginLoader      #region IPluginLoader
# Line 72  namespace RomCheater.Core Line 90  namespace RomCheater.Core
90          IInputPlugin GetInputPlugin(string t);          IInputPlugin GetInputPlugin(string t);
91          IWindowPlugin GetWindowPlugin(string t);          IWindowPlugin GetWindowPlugin(string t);
92    
93            IConfigPlugin GetGenericConfigPlugin();
94            IInputPlugin GetGenericInputPlugin();
95            IWindowPlugin GetGenericWindowPlugin();
96    
97            T GetPluginByName<T>(string name) where T : IPluginBase;
98            T GetPluginByGuid<T>(string t) where T : IPluginBase;
99            string[] GetKnownPluginGuids<T>() where T : IPluginBase;
100            bool IsKnownPluginGuid<T>(string t, out T plugin) where T : IPluginBase;
101            bool IsKnownPluginName<T>(string plugin_name, out T plugin) where T : IPluginBase;
102            
103          string ToString();          string ToString();
104      }      }
105      #endregion      #endregion

Legend:
Removed from v.686  
changed lines
  Added in v.717

  ViewVC Help
Powered by ViewVC 1.1.22