/[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 686 by william, Mon Jun 17 09:31:52 2013 UTC
# Line 1  Line 1 
1  ´╗┐using System;  ´╗┐#region Logging Defines
2    // include this any class or method that required logging, and comment-out what is not needed
3    
4    #region Enabled logging levels
5    #define LOGGING_ENABLE_INFO
6    #define LOGGING_ENABLE_WARN
7    #define LOGGING_ENABLE_DEBUG
8    //#define LOGGING_ENABLE_VERBOSEDEBUG
9    #define LOGGING_ENABLE_ERROR
10    #define LOGGING_ENABLE_VERBOSEERROR
11    #define LOGGING_ENABLE_PROFILER
12    #endregion
13    #endregion
14    using System;
15  using System.Collections.Generic;  using System.Collections.Generic;
16  using System.Linq;  using System.Linq;
17  using System.Text;  using System.Text;
18  using RomCheater.PluginFramework.Core;  using RomCheater.PluginFramework.Core;
19  using System.Diagnostics;  using System.Diagnostics;
20  using System.Security.Principal;  using System.Security.Principal;
21    using RomCheater.Logging;
22    using RomCheater.Core;
23    
24  namespace RomCheater.CorePlugins.Config  namespace RomCheater.CorePlugins.Config
25  {  {
# Line 12  namespace RomCheater.CorePlugins.Config Line 27  namespace RomCheater.CorePlugins.Config
27      {      {
28          public GenericConfig() : base() { }          public GenericConfig() : base() { }
29          public GenericConfig(bool doinit) : base(doinit) { }          public GenericConfig(bool doinit) : base(doinit) { }
30            protected override bool IsNotValidProcess(ProcContainer p)
31          protected override bool IsNotValidProcess(ProcContainer p) { return false; }          {
32    #if !DISALLOW_VERBOSE_LOGGING
33                logger.VerboseDebug.WriteLine("    Allowing process {0} to be added", p.Name);
34    #endif
35                return false;
36            }
37          #region IPluginBase Members          #region IPluginBase Members
38          public override Guid Id          public override Guid ID
39          {          {
40              get              get
41              {              {
# Line 30  namespace RomCheater.CorePlugins.Config Line 50  namespace RomCheater.CorePlugins.Config
50          {          {
51              get { return "This plugin provides a generic configuration"; }              get { return "This plugin provides a generic configuration"; }
52          }          }
53    
54            public override bool IsGenericPlugin { get { return true; } }
55            public override bool IsNullPlugin { get { return false; } }
56            
57          #endregion          #endregion
58    
59      }      }
60  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.22