/[RomCheater]/trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs
ViewVC logotype

Diff of /trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs

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

revision 151 by william, Mon May 28 00:17:16 2012 UTC revision 174 by william, Mon May 28 09:21:52 2012 UTC
# Line 1  Line 1 
1  //#define DISABLE_VERBOSE_LOGGING_FOR_PERFORMANCE_BOOST // when defined will disable verbose logging for performance speed-up  //#define DISABLE_VERBOSE_LOGGING_FOR_PERFORMANCE_BOOST // when defined will disable verbose logging for performance speed-up
2  #define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons  //#define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons
3    #define ALLOW_SYSTEM_PROCESSES_TO_BE_INLUCDED // when defined system processes will be included in process list
4  using System;  using System;
5  using System.Collections.Generic;  using System.Collections.Generic;
6  using System.Linq;  using System.Linq;
# Line 51  namespace RomCheater.PluginFramework.Cor Line 52  namespace RomCheater.PluginFramework.Cor
52                  {                  {
53                      bool isSystem = false;                      bool isSystem = false;
54                      string proc_user = ThreadControl.GetProcessOwner(proc.Handle, out isSystem).ToLower();                      string proc_user = ThreadControl.GetProcessOwner(proc.Handle, out isSystem).ToLower();
55    #if !ALLOW_SYSTEM_PROCESSES_TO_BE_INLUCDED
56                      if (isSystem)                      if (isSystem)
57                      {                      {
58  #if !DISALLOW_VERBOSE_LOGGING  #if !DISALLOW_VERBOSE_LOGGING
# Line 58  namespace RomCheater.PluginFramework.Cor Line 60  namespace RomCheater.PluginFramework.Cor
60  #endif  #endif
61                          continue;                          continue;
62                      }                      }
63    #endif
64                      ProcContainer container = null;                      ProcContainer container = null;
65                      try                      try
66                      {                      {

Legend:
Removed from v.151  
changed lines
  Added in v.174

  ViewVC Help
Powered by ViewVC 1.1.22