1 /*******************************************************************************
\r
2 TPI - flexible but useless plug-in framework.
\r
3 Copyright (C) 2002-2009 Silky
\r
5 This library is free software; you can redistribute it and/or modify it under
\r
6 the terms of the GNU Lesser General Public License as published by the Free
\r
7 Software Foundation; either version 2.1 of the License, or (at your option)
\r
10 This library is distributed in the hope that it will be useful, but WITHOUT
\r
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
\r
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
\r
15 You should have received a copy of the GNU Lesser General Public License along
\r
16 with this library; if not, write to the Free Software Foundation, Inc.,
\r
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
\r
20 *******************************************************************************/
\r
22 #ifndef H_LOADED_DLG_PROCESS
\r
23 #define H_LOADED_DLG_PROCESS
\r
25 #include <Shobjidl.h>
\r
28 class ProcessDialog: public wxDialog {
\r
30 void OnInit(wxInitDialogEvent &);
\r
31 void OnClose(wxCloseEvent &);
\r
32 int CallbackProc(unsigned int, void *);
\r
34 ProcessDialog(wxWindow * parent, wxULongLong_t n = 0, wxString szPassword = wxEmptyString);
\r
37 wxULongLong_t nFileCount;
\r
38 wxString szPassword;
\r
40 DECLARE_EVENT_TABLE()
\r
43 bool fCancel, fOpen;
\r
45 wxFileName fnFormer;
\r
46 wxTextCtrl* ebTarget;
\r
47 wxTextCtrl* ebSource;
\r
53 ITaskbarList3 * tlTaskbar;
\r
57 extern ProcessDialog * g_procDlg;
\r
59 class OverwriteDialog: public wxDialog {
\r
61 void OnInit(wxInitDialogEvent &);
\r
62 void OnClose(wxCloseEvent &);
\r
63 void OnBtnOverwrite(wxCommandEvent&);
\r
64 void OnBtnSkip( wxCommandEvent&);
\r
65 void OnBtnAuto( wxCommandEvent&);
\r
66 void OnBtnBrowse( wxCommandEvent&);
\r
70 wxFileName * fnExist;
\r
71 wxDateTime * tmWrite;
\r
72 wxULongLong_t nWriteSize;
\r
73 wxCheckBox* cbApplyAll;
\r
75 DECLARE_EVENT_TABLE()
\r
78 wxTextCtrl* ebTarget;
\r
81 //******************************************************************************
\r
83 //******************************************************************************
\r
85 int __stdcall TPICallbackProc(unsigned int, void *);
\r