home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 June
/
PCWorld_2003-06_cd.bin
/
KOMUNIK
/
MIRRORIT
/
SRC
/
DOWNLOADDLG.H
< prev
next >
Wrap
C/C++ Source or Header
|
1998-03-09
|
2KB
|
67 lines
#if !defined(AFX_DOWNLOADDLG_H__C42D9CC1_5560_11D1_AF0A_0000C0003048__INCLUDED_)
#define AFX_DOWNLOADDLG_H__C42D9CC1_5560_11D1_AF0A_0000C0003048__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// DownLoadDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDownLoadDlg dialog
class CSession;
class CURL;
class CDownLoadDlg : public CDialog
{
// Construction
public:
void CreateLog(CSession & session, CStringList & links);
BOOL m_bMinimized;
int redirection(CHTTPSocket & sock, CSession & session, CStringList & links);
int m_numBytes;
int m_numFiles;
CString m_file_basenet_loc;
CString m_file_baseroot;
CStringList visitedlinks;
CString m_file_filename;
int RetrieveDocument(CString surl, CURL & url, CSession & session, CStringList & links);
int ProcessMessages();
int LoadSession(CSession & session);
int WaitFor(BOOL * wait);
BOOL m_bAbort;
int LoadSessions(CPtrArray & sessions);
CDownLoadDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDownLoadDlg)
enum { IDD = IDD_DOWNLOAD };
CProgressCtrl m_Progress;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDownLoadDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDownLoadDlg)
virtual void OnCancel();
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DOWNLOADDLG_H__C42D9CC1_5560_11D1_AF0A_0000C0003048__INCLUDED_)