/[RomCheater]/trunk/RomCheater.ScratchPad/ScratchPadPlugin.cs
ViewVC logotype

Diff of /trunk/RomCheater.ScratchPad/ScratchPadPlugin.cs

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

revision 762 by william, Thu Jun 20 20:25:55 2013 UTC revision 892 by william, Wed Sep 17 05:56:41 2014 UTC
# Line 19  using System.Linq; Line 19  using System.Linq;
19  using System.Text;  using System.Text;
20  using RomCheater.PluginFramework.Core;  using RomCheater.PluginFramework.Core;
21  using WeifenLuo.WinFormsUI.Docking;  using WeifenLuo.WinFormsUI.Docking;
22    using Enterprise.Logging;
23    
24  namespace RomCheater.ScratchPad  namespace RomCheater.ScratchPad
25  {  {
# Line 53  namespace RomCheater.ScratchPad Line 54  namespace RomCheater.ScratchPad
54    
55          public override void Config()          public override void Config()
56          {          {
57              Logging.logger.Warn.WriteLine("Plugin: '{0}' guid: '{1}' - has no configurable settings", name, ID);              gLog.Warn.WriteLine("Plugin: '{0}' guid: '{1}' - has no configurable settings", name, ID);
58          }          }
59    
60          public override void Show() { Show(null); }          public override void Show() { Show(null); }
# Line 67  namespace RomCheater.ScratchPad Line 68  namespace RomCheater.ScratchPad
68                  t.Show();                  t.Show();
69              }              }
70              else              else
71              {              {                
72                  t.Show(dockPanel, dockState);                  t.Show(dockPanel, dockState);
73              }              }
74  #else  #else
# Line 94  namespace RomCheater.ScratchPad Line 95  namespace RomCheater.ScratchPad
95                  if (t == null || t.DockHandler == null) return null;                  if (t == null || t.DockHandler == null) return null;
96                  return t.DockHandler;                  return t.DockHandler;
97              }              }
98                set { t.DockHandler = value; }
99          }          }
100      }      }
101  }  }

Legend:
Removed from v.762  
changed lines
  Added in v.892

  ViewVC Help
Powered by ViewVC 1.1.22