diff options
Diffstat (limited to 'protocols/YAMN/src/main.cpp')
-rw-r--r-- | protocols/YAMN/src/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/YAMN/src/main.cpp b/protocols/YAMN/src/main.cpp index ab7214294a..7522c4c0e8 100644 --- a/protocols/YAMN/src/main.cpp +++ b/protocols/YAMN/src/main.cpp @@ -22,7 +22,8 @@ BOOL UninstallPlugins; HANDLE hAccountFolder;
-YAMN_VARIABLES YAMNVar;
+MWindowList MessageWnds, NewMailAccountWnd;
+bool g_bShutdown = false;
CMPlugin g_plugin;
@@ -171,9 +172,8 @@ int CMPlugin::Load() optDateTime = g_plugin.getByte(YAMN_DBTIMEOPTIONS, optDateTime);
// Create new window queues for broadcast messages
- YAMNVar.MessageWnds = WindowList_Create();
- YAMNVar.NewMailAccountWnd = WindowList_Create();
- YAMNVar.Shutdown = FALSE;
+ MessageWnds = WindowList_Create();
+ NewMailAccountWnd = WindowList_Create();
hCurSplitNS = LoadCursor(nullptr, IDC_SIZENS);
hCurSplitWE = LoadCursor(nullptr, IDC_SIZEWE);
@@ -214,8 +214,8 @@ int CMPlugin::Unload() UnInitDebug();
#endif
- WindowList_Destroy(YAMNVar.MessageWnds);
- WindowList_Destroy(YAMNVar.NewMailAccountWnd);
+ WindowList_Destroy(MessageWnds);
+ WindowList_Destroy(NewMailAccountWnd);
DestroyCursor(hCurSplitNS);
DestroyCursor(hCurSplitWE);
|