From 6426add74948afe7d494aabdfa9ff2454e222ff7 Mon Sep 17 00:00:00 2001 From: RKrom Date: Thu, 19 Aug 2010 05:30:27 +0000 Subject: [PATCH] Changed interfaces for the changes made for Bug # 3048290 git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@824 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- GreenshotCore/Helpers/PluginHelper.cs | 4 ++-- GreenshotCore/Interfaces/Plugin/PluginInterfaces.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GreenshotCore/Helpers/PluginHelper.cs b/GreenshotCore/Helpers/PluginHelper.cs index e1b456a56..2e8c57b7f 100644 --- a/GreenshotCore/Helpers/PluginHelper.cs +++ b/GreenshotCore/Helpers/PluginHelper.cs @@ -164,8 +164,8 @@ namespace Greenshot.Helpers { get {return plugins;} } - public bool RegisterHotKey(int modifierKeyCode, int virtualKeyCode, HotKeyHandler handler) { - //return HotkeyHelper.RegisterHotKey((int)MainForm.instance.Handle, modifierKeyCode, virtualKeyCode, handler); + public bool RegisterHotKey(uint modifierKeyCode, uint virtualKeyCode, HotKeyHandler handler) { + //return HotkeyHelper.RegisterHotKey(MainForm.instance.Handle, modifierKeyCode, virtualKeyCode, handler); return false; // TODO } #endregion diff --git a/GreenshotCore/Interfaces/Plugin/PluginInterfaces.cs b/GreenshotCore/Interfaces/Plugin/PluginInterfaces.cs index f707e9feb..f21cf870e 100644 --- a/GreenshotCore/Interfaces/Plugin/PluginInterfaces.cs +++ b/GreenshotCore/Interfaces/Plugin/PluginInterfaces.cs @@ -202,7 +202,7 @@ namespace Greenshot.Plugin { /// /// /// bool true if all went okay - bool RegisterHotKey(int modifierKeyCode, int virtualKeyCode, HotKeyHandler handler); + bool RegisterHotKey(uint modifierKeyCode, uint virtualKeyCode, HotKeyHandler handler); } public interface IGreenshotPlugin {