diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-24 12:27:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-24 12:27:21 +0000 |
commit | 9c8e399b431a9b0995efd24752a47efbe6e84ade (patch) | |
tree | 9ee230f9d7cd19b1ff0c6f67a9e754454a059f8c /src/core/stdfile/file.h | |
parent | afe5082c1a5126f5ba2973afaeaf16846302a295 (diff) |
- added ME_FILEDLG_CANCELED & ME_FILEDLG_SUCCEEDED events to support async file selection dialog;
- return value of MS_FILE_SENDFILE* services changed: now it returns a dialog handle;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@8253 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdfile/file.h')
-rw-r--r-- | src/core/stdfile/file.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/core/stdfile/file.h b/src/core/stdfile/file.h index 2c21d5987f..f86bc57fe6 100644 --- a/src/core/stdfile/file.h +++ b/src/core/stdfile/file.h @@ -37,13 +37,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define M_FILEEXISTSDLGREPLY (WM_USER+200)
#define M_PRESHUTDOWN (WM_USER+201)
-struct FileSendData {
+struct FileSendData
+{
MCONTACT hContact;
const TCHAR **ppFiles;
};
#define BYTESRECVEDHISTORYCOUNT 10 //the number of bytes recved is sampled once a second and the last 10 are used to get the transfer speed
-struct FileDlgData {
+struct FileDlgData
+{
HWND hwndTransfer;
HANDLE fs;
MCONTACT hContact;
@@ -109,8 +111,10 @@ int FileOptInitialise(WPARAM wParam, LPARAM lParam); HWND FtMgr_Show(bool bForceActivate, bool bFromMenu);
void FtMgr_Destroy();
-HWND FtMgr_AddTransfer(struct FileDlgData *dat);
+HWND FtMgr_AddTransfer(FileDlgData *dat);
void FreeFileDlgData(FileDlgData* dat);
TCHAR *GetContactID(MCONTACT hContact);
+
+extern HANDLE hDlgSucceeded, hDlgCanceled;
|