/[RomCheater]/trunk/RomCheater.CorePlugins/Config/GenericConfig.cs
ViewVC logotype

Diff of /trunk/RomCheater.CorePlugins/Config/GenericConfig.cs

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

revision 81 by william, Wed May 9 17:17:19 2012 UTC revision 147 by william, Sun May 27 23:05:18 2012 UTC
# Line 3  using System.Collections.Generic; Line 3  using System.Collections.Generic;
3  using System.Linq;  using System.Linq;
4  using System.Text;  using System.Text;
5  using RomCheater.PluginFramework.Core;  using RomCheater.PluginFramework.Core;
6    using System.Diagnostics;
7    using System.Security.Principal;
8    using RomCheater.Logging;
9    
10  namespace RomCheater.CorePlugins.Config  namespace RomCheater.CorePlugins.Config
11  {  {
12      public class GenericConfig : ConfigPlugin      public sealed class GenericConfig : ConfigPlugin
13      {      {
14          public GenericConfig() : base() { }          public GenericConfig() : base() { }
15            public GenericConfig(bool doinit) : base(doinit) { }
16            protected override bool IsNotValidProcess(ProcContainer p)
17            {
18                logger.VerboseDebug.WriteLine("    Allowing process {0} to be added", p.Name);
19                return false;
20            }
21            #region IPluginBase Members
22            public override Guid ID
23            {
24                get
25                {
26                    return new GuidGenerator(typeof(GenericConfig).FullName).Guid;
27                }
28            }
29            public override string Name
30            {
31                get { return "Generic Configuration Plugin"; }
32            }
33            public override string Description
34            {
35                get { return "This plugin provides a generic configuration"; }
36            }
37            #endregion
38      }      }
39  }  }

Legend:
Removed from v.81  
changed lines
  Added in v.147

  ViewVC Help
Powered by ViewVC 1.1.22