www.pudn.com > FindMail.zip > findmailDlg.h


// findmailDlg.h : 头文件 
// 
 
#pragma once 
#include "smtpclient.h" 
#include "dnsclient.h" 
#include "findmailthread.h" 
#include "threadmanager.h" 
 
// CfindmailDlg 对话框 
class CfindmailDlg : public CDialog 
{ 
// 构造 
public: 
	CfindmailDlg(CWnd* pParent = NULL);	// 标准构造函数 
 
// 对话框数据 
	enum { IDD = IDD_FINDMAIL_DIALOG }; 
 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV 支持 
 
 
// 实现 
protected: 
	HICON m_hIcon; 
 
	// 生成的消息映射函数 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	DECLARE_MESSAGE_MAP() 
public: 
	CSMTPClient m_smtp; 
	afx_msg void OnBnClickedStart(); 
	CString m_stat; 
	CString m_domain; 
	CDNSClient m_dns_client; 
	CThreadManager m_thread_manager; 
	afx_msg void OnClose(); 
	int m_max_thread_count; 
	int m_max_thread_num; 
	int m_min_thread_num; 
	afx_msg void OnBnClickedBrowseStatFile(); 
	afx_msg void OnBnClickedBrowseDictFile(); 
	CString m_stat_file; 
	CString m_dict_file; 
	afx_msg void OnBnClickedNoStat(); 
	afx_msg void OnBnClickedNotShowNonexist(); 
	afx_msg void OnEnChangeDialName(); 
	CString m_dial_name; 
	int GetDialName(void); 
};