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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 686 - (hide annotations) (download)
Mon Jun 17 09:31:52 2013 UTC (8 years ago) by william
File size: 1776 byte(s)
+ massive move of source files

1 william 414 #region Logging Defines
2     // include this any class or method that required logging, and comment-out what is not needed
3 william 415
4 william 414 #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 william 151 using System;
15 william 81 using System.Collections.Generic;
16     using System.Linq;
17     using System.Text;
18     using RomCheater.PluginFramework.Core;
19 william 83 using System.Diagnostics;
20 william 88 using System.Security.Principal;
21 william 98 using RomCheater.Logging;
22 william 686 using RomCheater.Core;
23 william 81
24     namespace RomCheater.CorePlugins.Config
25     {
26 william 83 public sealed class GenericConfig : ConfigPlugin
27 william 81 {
28 william 88 public GenericConfig() : base() { }
29 william 92 public GenericConfig(bool doinit) : base(doinit) { }
30 william 147 protected override bool IsNotValidProcess(ProcContainer p)
31 william 98 {
32 william 151 #if !DISALLOW_VERBOSE_LOGGING
33 william 99 logger.VerboseDebug.WriteLine(" Allowing process {0} to be added", p.Name);
34 william 151 #endif
35 william 147 return false;
36 william 98 }
37 william 83 #region IPluginBase Members
38 william 94 public override Guid ID
39 william 86 {
40     get
41     {
42     return new GuidGenerator(typeof(GenericConfig).FullName).Guid;
43     }
44     }
45 william 83 public override string Name
46     {
47     get { return "Generic Configuration Plugin"; }
48     }
49     public override string Description
50     {
51     get { return "This plugin provides a generic configuration"; }
52     }
53 william 590
54 william 682 public override bool IsGenericPlugin { get { return true; } }
55     public override bool IsNullPlugin { get { return false; } }
56 william 590
57     #endregion
58    
59 william 81 }
60     }

  ViewVC Help
Powered by ViewVC 1.1.22