ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.PluginFramework/Interfaces/PluginInterfaces.cs
(Generate patch)

Comparing trunk/RomCheater.PluginFramework/Interfaces/PluginInterfaces.cs (file contents):
Revision 233 by william, Sat Jun 2 16:02:01 2012 UTC vs.
Revision 234 by william, Sun Jun 3 12:38:31 2012 UTC

# Line 48 | Line 48 | namespace RomCheater.PluginFramework.Int
48          string ToString();
49      }
50      #endregion
51 < #region AcceptsPlugin
51 >    #region AcceptsPlugin
52      public interface IAcceptsPlugin<TPlugin>
53          where TPlugin : IPluginBase
54      {
55          TPlugin AcceptedPlugin { get; set; }
56      }
57 < #endregion
58 <    public interface IProcessConfig : IAcceptsPlugin<IConfigPlugin>
57 >    public interface IAcceptsProcess<TProcess>
58 >        where TProcess : Process
59      {
60 <        Process AcceptedProcess { get; set; }
60 >        TProcess AcceptedProcess { get; set; }
61      }
62 +    #endregion
63 +    public interface IAcceptsProcessAndConfig<TPlugin, TProcess> : IAcceptsPlugin<TPlugin>, IAcceptsProcess<TProcess>
64 +        where TPlugin : IPluginBase
65 +        where TProcess : Process { }
66 +    public interface IAcceptsProcessAndConfig : IAcceptsProcessAndConfig<IConfigPlugin,Process> { }
67      public interface IAcceptsProcessPID
68      {
69          int ProcessPID { get; set; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines