From 4c43d12f03c53aa53585efa40daf22580eae9c45 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 24 Jan 2025 16:58:02 +0300 Subject: Weather: dropped all that trash with ini files structure --- protocols/Weather/src/weather.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'protocols/Weather/src/weather.cpp') diff --git a/protocols/Weather/src/weather.cpp b/protocols/Weather/src/weather.cpp index 7c61a6c075..884362d1a5 100644 --- a/protocols/Weather/src/weather.cpp +++ b/protocols/Weather/src/weather.cpp @@ -28,9 +28,6 @@ belong to any other file. //============ GLOBAL VARIABLES ============ -WIDATALIST *WIHead; -WIDATALIST *WITail; - HWND hPopupWindow; MWindowList hDataWindowList, hWindowList; @@ -74,7 +71,6 @@ static int OnPreShutdown(WPARAM, LPARAM) { WindowList_Broadcast(hWindowList, WM_CLOSE, 0, 0); WindowList_Broadcast(hDataWindowList, WM_CLOSE, 0, 0); - SendMessage(hWndSetup, WM_CLOSE, 0, 0); return 0; } @@ -102,9 +98,6 @@ int CMPlugin::Load() // load dll with icons hIconsDll = LoadLibraryW(g_pwszIconsName); - // load weather update data - LoadWIData(true); - // window lists hDataWindowList = WindowList_Create(); hWindowList = WindowList_Create(); @@ -130,8 +123,6 @@ int CMPlugin::Unload() DestroyWindow(hPopupWindow); - DestroyWIList(); // unload all ini data from memory - WindowList_Destroy(hDataWindowList); WindowList_Destroy(hWindowList); return 0; -- cgit v1.2.3