diff options
author | René Schümann <white06tiger@gmail.com> | 2015-03-26 20:39:36 +0000 |
---|---|---|
committer | René Schümann <white06tiger@gmail.com> | 2015-03-26 20:39:36 +0000 |
commit | 958b2c8f49e4b05dd047e016def67690e31e09ca (patch) | |
tree | 449dedd80287206fc11da655e53ad6993d7f7190 /plugins/MirOTR/src/dialogs.h | |
parent | a02de2743a09366b17473f77567a8ca47a8db0d9 (diff) |
MirOTR:
! fixed SMP user cancel (we didn't inform our buddy about cancel actions) (dialogs.cpp)
! fixed SMP window handle leaks with all SMP dialogs (CreateDialog() uses DestroyWindow(), not EndDialog()) (dialogs.cpp)
tried to make it clear how a dialog was created by using "DlgProc" for CreateDialog() and "DlgBoxProc" for DialogBox() dialogs
git-svn-id: http://svn.miranda-ng.org/main/trunk@12505 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/src/dialogs.h')
-rw-r--r-- | plugins/MirOTR/src/dialogs.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/MirOTR/src/dialogs.h b/plugins/MirOTR/src/dialogs.h index 0422dc3095..39db06189f 100644 --- a/plugins/MirOTR/src/dialogs.h +++ b/plugins/MirOTR/src/dialogs.h @@ -1,8 +1,8 @@ -#pragma once
-void VerifyContextDialog(ConnContext* context);
-void SMPInitDialog(ConnContext* context);
-INT_PTR CALLBACK DlgProcVerifyContext(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
-void SMPDialogUpdate(ConnContext *context, int percent);
-void SMPDialogReply(ConnContext *context, const char* question);
-
-#define WMU_REFRESHSMP (WM_USER + 245)
\ No newline at end of file +#pragma once +void VerifyContextDialog(ConnContext* context); +void SMPInitDialog(ConnContext* context); +INT_PTR CALLBACK DlgBoxProcVerifyContext(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); +void SMPDialogUpdate(ConnContext *context, int percent); +void SMPDialogReply(ConnContext *context, const char* question); + +#define WMU_REFRESHSMP (WM_USER + 245) |