summaryrefslogtreecommitdiff
path: root/plugins/AsSingleWindow/src/AsSingleWindow.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2017-09-19 19:50:57 +0300
committerKirill Volinsky <mataes2007@gmail.com>2017-09-19 19:50:57 +0300
commit44eadfd2f33bf3ac4cc1c56c773f09e8cf391385 (patch)
tree65e1ef4724c620ac1471db8fce38451d7963aedb /plugins/AsSingleWindow/src/AsSingleWindow.h
parentcc13707adf716f558a1e85995c042e5361eec60b (diff)
AsSingleWindow: adopted but not working
Diffstat (limited to 'plugins/AsSingleWindow/src/AsSingleWindow.h')
-rw-r--r--plugins/AsSingleWindow/src/AsSingleWindow.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/plugins/AsSingleWindow/src/AsSingleWindow.h b/plugins/AsSingleWindow/src/AsSingleWindow.h
new file mode 100644
index 0000000000..e32bc6f948
--- /dev/null
+++ b/plugins/AsSingleWindow/src/AsSingleWindow.h
@@ -0,0 +1,47 @@
+#pragma once
+
+#ifndef _ASSINGLEWINDOW_H
+#define _ASSINGLEWINDOW_H
+
+#include "stdafx.h"
+#include "WindowsManager.h"
+
+#define ASW_CLWINDOWPOS_RIGHT 0x01
+#define ASW_CLWINDOWPOS_LEFT 0x02
+#define ASW_CLWINDOWPOS_DISABLED 0x03
+
+#define ASW_WINDOWS_MERGEALL 0x01
+#define ASW_WINDOWS_MERGEONE 0x02
+#define ASW_WINDOWS_MERGEDISABLE 0x03
+
+//typedef std::map<HWND, sWindowInfo> windowsList;
+typedef std::list<sWindowInfo> windowsList;
+
+struct sPluginVars {
+ HINSTANCE hInst;
+ CRITICAL_SECTION m_CS;
+
+ HWND contactListHWND;
+ windowsList allWindows;
+
+ HANDLE heModulesLoaded;
+ HANDLE heOptionsLoaded;
+ HANDLE heMsgWndEvent;
+
+ bool IsUpdateInProgress;
+
+ struct {
+ UINT8 DrivenWindowPos;
+ UINT8 WindowsMerging;
+ } Options;
+};
+
+extern sPluginVars pluginVars;
+extern PLUGININFOEX pluginInfo;
+
+int OnModulesLoaded(WPARAM, LPARAM);
+int MsgWindowEvent(WPARAM, LPARAM);
+
+#endif
+
+// end of file \ No newline at end of file