| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //---------------------------------------------------------------------------
- #ifndef RemoteTransferH
- #define RemoteTransferH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include "HistoryComboBox.hpp"
- //---------------------------------------------------------------------------
- class TRemoteTransferDialog : public TForm
- {
- __published:
- TGroupBox *SymlinkGroup;
- TLabel *SessionLabel;
- TLabel *Label2;
- TComboBox *SessionCombo;
- THistoryComboBox *DirectoryEdit;
- TButton *OkButton;
- TButton *CancelButton;
- TButton *HelpButton;
- TCheckBox *NotDirectCopyCheck;
- void __fastcall ControlChange(TObject *Sender);
- void __fastcall FormShow(TObject *Sender);
- void __fastcall HelpButtonClick(TObject *Sender);
- void __fastcall SessionComboChange(TObject *Sender);
- void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
- void __fastcall NotDirectCopyCheckClick(TObject *Sender);
- public:
- __fastcall TRemoteTransferDialog(TComponent * Owner);
- void __fastcall Init(TStrings * Sessions, TStrings * Directories,
- TDirectRemoteCopy AllowDirectCopy);
- bool __fastcall Execute(void *& Session, UnicodeString & Target,
- UnicodeString & FileMask, bool & DirectCopy);
- protected:
- void __fastcall UpdateControls();
- private:
- TStrings * FDirectories;
- int FCurrentSession;
- bool FDirectCopy;
- TDirectRemoteCopy FAllowDirectCopy;
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TRemoteTransferDialog * RemoteTransferDialog;
- //---------------------------------------------------------------------------
- #endif
|