/[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 92 by william, Wed May 9 21:42:21 2012 UTC revision 389 by william, Tue Jun 19 12:47:26 2012 UTC
# Line 1  Line 1 
1  ´╗┐using System;  ´╗┐#define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons
2    using System;
3  using System.Collections.Generic;  using System.Collections.Generic;
4  using System.Linq;  using System.Linq;
5  using System.Text;  using System.Text;
6  using RomCheater.PluginFramework.Core;  using RomCheater.PluginFramework.Core;
7  using System.Diagnostics;  using System.Diagnostics;
8  using System.Security.Principal;  using System.Security.Principal;
9    using RomCheater.Logging;
10    
11  namespace RomCheater.CorePlugins.Config  namespace RomCheater.CorePlugins.Config
12  {  {
# Line 12  namespace RomCheater.CorePlugins.Config Line 14  namespace RomCheater.CorePlugins.Config
14      {      {
15          public GenericConfig() : base() { }          public GenericConfig() : base() { }
16          public GenericConfig(bool doinit) : base(doinit) { }          public GenericConfig(bool doinit) : base(doinit) { }
17            protected override bool IsNotValidProcess(ProcContainer p)
18          protected override bool IsNotValidProcess(ProcContainer p) { return false; }          {
19    #if !DISALLOW_VERBOSE_LOGGING
20                logger.VerboseDebug.WriteLine("    Allowing process {0} to be added", p.Name);
21    #endif
22                return false;
23            }
24          #region IPluginBase Members          #region IPluginBase Members
25          public override Guid Id          public override Guid ID
26          {          {
27              get              get
28              {              {
# Line 30  namespace RomCheater.CorePlugins.Config Line 37  namespace RomCheater.CorePlugins.Config
37          {          {
38              get { return "This plugin provides a generic configuration"; }              get { return "This plugin provides a generic configuration"; }
39          }          }
40          #endregion          #endregion    
41      }      }
42  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.22