/[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 98 by william, Wed May 9 23:10:12 2012 UTC revision 300 by william, Tue Jun 5 11:38:32 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;
# Line 13  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)
         protected override bool IsNotValidProcess(ProcContainer p)  
18          {          {
19              logger.Debug.WriteLine("    Allowing process {0} to be added",p.Name);  #if !DISALLOW_VERBOSE_LOGGING
20              return false;              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

Legend:
Removed from v.98  
changed lines
  Added in v.300

  ViewVC Help
Powered by ViewVC 1.1.22