summaryrefslogtreecommitdiff
path: root/protocols/Weather/src/weather.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-01-24 16:58:02 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-01-24 16:58:02 +0300
commit4c43d12f03c53aa53585efa40daf22580eae9c45 (patch)
tree52471e10ee66a56331bdedbe998c6f86dba579d5 /protocols/Weather/src/weather.cpp
parent781beb2c50cea2ce2a3da799d8e4a70fa21d6fab (diff)
Weather: dropped all that trash with ini files structure
Diffstat (limited to 'protocols/Weather/src/weather.cpp')
-rw-r--r--protocols/Weather/src/weather.cpp9
1 files changed, 0 insertions, 9 deletions
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;