/[RomCheater]/trunk/RomCheater.PluginFramework/Interfaces/PluginInterfaces.cs
ViewVC logotype

Diff of /trunk/RomCheater.PluginFramework/Interfaces/PluginInterfaces.cs

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

revision 92 by william, Wed May 9 21:42:21 2012 UTC revision 153 by william, Mon May 28 02:20:29 2012 UTC
# Line 7  using RomCheater.PluginFramework.Core; Line 7  using RomCheater.PluginFramework.Core;
7    
8  namespace RomCheater.PluginFramework.Interfaces  namespace RomCheater.PluginFramework.Interfaces
9  {  {
10      #region IPluginBase      #region IPluginBase  
11      public interface IPluginBase      public interface IPluginBase : IPluginName, IPluginDescription, IPluginID, IToString, IPluginRefresh { }
12      {      #region IPluginBase SubMembers
13          Guid Id { get; }      public interface IToString { string ToString();    }
14          string Name { get;}      public interface IPluginName { string Name { get; } }
15          string Description { get; }      public interface IPluginDescription { string Description { get; } }
16          string ToString();      public interface IPluginID { Guid ID { get; } }
17          void Reload();      public interface IPluginRefresh { void Reload();    }
18      }      #endregion
19      #endregion      #endregion
20      #region IConfigPlugin      #region IConfigPlugin
21      public interface IConfigPlugin : IPluginBase      public interface IConfigPlugin : IPluginBase
# Line 48  namespace RomCheater.PluginFramework.Int Line 48  namespace RomCheater.PluginFramework.Int
48          string ToString();          string ToString();
49      }      }
50      #endregion      #endregion
51    #region AcceptsPlugin
52        public interface IAcceptsPlugin<PLUGIN_TYPE>
53            where PLUGIN_TYPE : IPluginBase
54        {
55            PLUGIN_TYPE AcceptedPlugin { get; set; }
56        }
57    #endregion
58        public interface IProcessConfig : IAcceptsPlugin<IConfigPlugin>
59        {
60            Process AcceptedProcess { get; set; }
61        }
62  }  }

Legend:
Removed from v.92  
changed lines
  Added in v.153

  ViewVC Help
Powered by ViewVC 1.1.22