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

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

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

revision 91 by william, Wed May 9 20:52:20 2012 UTC revision 92 by william, Wed May 9 21:42:21 2012 UTC
# Line 13  namespace RomCheater.PluginFramework.Cor Line 13  namespace RomCheater.PluginFramework.Cor
13      /// </summary>      /// </summary>
14      public abstract class ConfigPlugin : PluginBase, IConfigPlugin      public abstract class ConfigPlugin : PluginBase, IConfigPlugin
15      {      {
16          public ConfigPlugin() : base() { this.ValidProcessesForPlugin = new List<ProcContainer>(); init(); }          public ConfigPlugin() : this(false) { }
17            public ConfigPlugin(bool doinit) : base() { this.ValidProcessesForPlugin = new List<ProcContainer>(); if(doinit) init(); }
18    
19            public override void Reload()
20            {
21                init();
22            }
23          private void init()          private void init()
24          {          {
25              List<ProcContainer> proc_list = new List<ProcContainer>();              List<ProcContainer> proc_list = new List<ProcContainer>();

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

  ViewVC Help
Powered by ViewVC 1.1.22