diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-24 12:45:18 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-24 12:45:18 +0000 |
commit | 0cda0baab21d4d4bf40c9459f6f5a7e49aa92492 (patch) | |
tree | c1244d2f42e6d1728a81a18bd0fbd091904bf20c /plugins/W7UI/src/srmmproxywindow.h | |
parent | 171e81205e357e0d54283a63997ed58ff97d54a9 (diff) |
VersionInfo, W7UI, WhoUsesMyFiles, YAPP, ZeroNotification: changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/W7UI/src/srmmproxywindow.h')
-rw-r--r-- | plugins/W7UI/src/srmmproxywindow.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/plugins/W7UI/src/srmmproxywindow.h b/plugins/W7UI/src/srmmproxywindow.h new file mode 100644 index 0000000000..f1c447d4e8 --- /dev/null +++ b/plugins/W7UI/src/srmmproxywindow.h @@ -0,0 +1,42 @@ +#ifndef srmmproxywindow_h__
+#define srmmproxywindow_h__
+
+class CSrmmProxyWindow: public CDwmWindow
+{
+public:
+ CSrmmProxyWindow(HANDLE hContact, HWND hwndWindow, HWND hwndParent);
+ ~CSrmmProxyWindow();
+
+ void OnTabActive();
+ void OnTabInactive();
+
+private:
+ HANDLE m_hContact;
+ HWND m_hwndWindow, m_hwndParent;
+ HBITMAP m_hbmpPreview;
+ bool m_refreshPreview;
+ bool m_bActive, m_bUnread, m_bTyping;
+
+ void Refresh();
+
+ int __cdecl OnDbEventAdded(WPARAM wParam, LPARAM lParam);
+ int __cdecl OnDbSettingChanged(WPARAM wParam, LPARAM lParam);
+ int __cdecl OnAvatarChanged(WPARAM wParam, LPARAM lParam);
+ int __cdecl OnContactTyping(WPARAM wParam, LPARAM lParam);
+
+ HANDLE SetEventHook(char *evt, int (__cdecl CSrmmProxyWindow::*fn)(WPARAM, LPARAM));
+
+ void UpdateIcon();
+
+ bool IsActive();
+
+protected:
+ void OnActivate(HWND hwndFrom);
+ void OnToolbar(int id, INT_PTR data);
+ void OnRenderThumbnail(int width, int height);
+ void OnRenderPreview();
+ void OnTimer(int);
+ void OnClose();
+};
+
+#endif // srmmproxywindow_h__
|