55 lines
1.0 KiB
C++
55 lines
1.0 KiB
C++
#ifndef _FTP_HOSTDIALOG_HPP_
|
|
#define _FTP_HOSTDIALOG_HPP_
|
|
#ifndef _COMMON_WINDOWS_HPP_
|
|
#include <common/windows.hpp>
|
|
#endif
|
|
#ifndef _DIALOG_DYNAMICDIALOG_HPP_
|
|
#include <dialog/dyndlg.hpp>
|
|
#endif
|
|
|
|
class HostDialog : public DynamicDialog
|
|
{
|
|
public:
|
|
HostDialog(void);
|
|
virtual ~HostDialog();
|
|
BOOL performDialog(void);
|
|
const String &remoteHost(void)const;
|
|
void remoteHost(const String &remoteHost);
|
|
private:
|
|
enum {RemoteHostID=101};
|
|
HostDialog(const HostDialog &someHostDialog);
|
|
WORD dlgCommand(DWORD commandID,CallbackData &someCallbackData);
|
|
BOOL dlgInitDialog(CallbackData &someCallbackData);
|
|
void dlgDestroyDialog(CallbackData &someCallbackData);
|
|
|
|
String mRemoteHost;
|
|
};
|
|
|
|
inline
|
|
HostDialog::HostDialog(void)
|
|
{
|
|
}
|
|
|
|
inline
|
|
HostDialog::HostDialog(const HostDialog &/*loginDialog*/)
|
|
{ // private implementation
|
|
}
|
|
|
|
inline
|
|
HostDialog::~HostDialog()
|
|
{
|
|
}
|
|
|
|
inline
|
|
const String &HostDialog::remoteHost(void)const
|
|
{
|
|
return mRemoteHost;
|
|
}
|
|
|
|
inline
|
|
void HostDialog::remoteHost(const String &remoteHost)
|
|
{
|
|
mRemoteHost=remoteHost;
|
|
}
|
|
#endif
|