#region Logging Defines // include this any class or method that required logging, and comment-out what is not needed #define LOGGING_ENABLED // this is only valid within the logger class #region Enabled logging levels #define LOGGING_ENABLE_INFO #define LOGGING_ENABLE_WARN #define LOGGING_ENABLE_DEBUG #define LOGGING_ENABLE_VERBOSEDEBUG #define LOGGING_ENABLE_ERROR #define LOGGING_ENABLE_VERBOSEERROR #define LOGGING_ENABLE_PROFILER #endregion #endregion using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using WeifenLuo.WinFormsUI.Docking; using RomCheater.PluginFramework.Core; using RomCheater.Logging; namespace RomCheater.CheatPlugin { public partial class CheatCodeDockContent : DockContent { private UserControlPlugin plugin; public CheatCodeDockContent(UserControlPlugin plugin) { this.plugin = plugin; InitPluginFramework(); InitializeComponent(); } private void InitPluginFramework() { if (this.plugin == null) { return; } this.plugin.OnSelectedProcessChanged += new PluginFramework.Events.BaseEventHandler(plugin_OnSelectedProcessChanged); this.plugin.OnSelectedConfigChanged += new PluginFramework.Events.BaseEventHandler(plugin_OnSelectedConfigChanged); this.plugin.OnPEDataUpdated += new PluginFramework.Events.BaseEventHandler(plugin_OnPEDataUpdated); } void plugin_OnPEDataUpdated(PluginFramework.Events.PEViewerDataUpdatedEventArgs e) { logger.Warn.WriteLine("plugin_OnPEDataUpdated::has not been implemented!"); } void plugin_OnSelectedConfigChanged(PluginFramework.Events.ConfigChangedEventArgs e) { logger.Warn.WriteLine("plugin_OnSelectedConfigChanged::has not been implemented!"); } void plugin_OnSelectedProcessChanged(PluginFramework.Events.ProcessChangedEventArgs e) { logger.Warn.WriteLine("plugin_OnSelectedProcessChanged::has not been implemented!"); } } }