From 737d05018bbc2da54414bea0c2ccce6f1e15bde2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 17:14:39 +0300 Subject: Hotkey_Register => CMPlugin::addHotkey --- plugins/WhenWasIt/src/WhenWasIt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/WhenWasIt/src') diff --git a/plugins/WhenWasIt/src/WhenWasIt.cpp b/plugins/WhenWasIt/src/WhenWasIt.cpp index f4a2c5cc91..947a9a2de7 100644 --- a/plugins/WhenWasIt/src/WhenWasIt.cpp +++ b/plugins/WhenWasIt/src/WhenWasIt.cpp @@ -126,12 +126,12 @@ extern "C" int __declspec(dllexport) Load(void) hotkey.pszName = "wwi_birthday_list"; hotkey.szDescription.a = LPGEN("Birthday list"); hotkey.pszService = MS_WWI_LIST_SHOW; - Hotkey_Register(&hotkey); + g_plugin.addHotkey(&hotkey); hotkey.pszName = "wwi_check_birthdays"; hotkey.szDescription.a = LPGEN("Check for birthdays"); hotkey.pszService = MS_WWI_CHECK_BIRTHDAYS; - Hotkey_Register(&hotkey); + g_plugin.addHotkey(&hotkey); g_plugin.addSound(BIRTHDAY_NEAR_SOUND, LPGENW("WhenWasIt"), LPGENW("Birthday near")); g_plugin.addSound(BIRTHDAY_TODAY_SOUND, LPGENW("WhenWasIt"), LPGENW("Birthday today")); -- cgit v1.2.3