00001 // 00002 // DlgURLCopy.h 00003 // 00004 // Copyright (c) Shareaza Development Team, 2002-2005. 00005 // This file is part of SHAREAZA (www.shareaza.com) 00006 // 00007 // Shareaza is free software; you can redistribute it 00008 // and/or modify it under the terms of the GNU General Public License 00009 // as published by the Free Software Foundation; either version 2 of 00010 // the License, or (at your option) any later version. 00011 // 00012 // Shareaza is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // GNU General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU General Public License 00018 // along with Shareaza; if not, write to the Free Software 00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 // 00021 00022 #if !defined(AFX_DLGURLCOPY_H__CFF49DD5_9C74_4024_B7C0_551F4B05DFB6__INCLUDED_) 00023 #define AFX_DLGURLCOPY_H__CFF49DD5_9C74_4024_B7C0_551F4B05DFB6__INCLUDED_ 00024 00025 #pragma once 00026 00027 #include "DlgSkinDialog.h" 00028 00029 00030 class CURLCopyDlg : public CSkinDialog 00031 { 00032 // Construction 00033 public: 00034 CURLCopyDlg(CWnd* pParent = NULL); 00035 00036 DECLARE_DYNAMIC(CURLCopyDlg) 00037 00038 // Dialog Data 00039 public: 00040 //{{AFX_DATA(CURLCopyDlg) 00041 enum { IDD = IDD_URL_COPY }; 00042 CButton m_wndIncludeSelf; 00043 CStatic m_wndMessage; 00044 CString m_sHost; 00045 CString m_sMagnet; 00046 CString m_sED2K; 00047 //}}AFX_DATA 00048 00049 // Attributes 00050 public: 00051 CString m_sName; 00052 BOOL m_bSHA1; 00053 SHA1 m_pSHA1; 00054 BOOL m_bTiger; 00055 TIGEROOT m_pTiger; 00056 BOOL m_bED2K; 00057 MD4 m_pED2K; 00058 BOOL m_bSize; 00059 QWORD m_nSize; 00060 00061 static BOOL SetClipboardText(CString& strText); 00062 00063 // Overrides 00064 public: 00065 //{{AFX_VIRTUAL(CURLCopyDlg) 00066 protected: 00067 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00068 //}}AFX_VIRTUAL 00069 00070 // Implementation 00071 protected: 00072 //{{AFX_MSG(CURLCopyDlg) 00073 virtual BOOL OnInitDialog(); 00074 afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); 00075 afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message); 00076 afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 00077 afx_msg void OnIncludeSelf(); 00078 //}}AFX_MSG 00079 DECLARE_MESSAGE_MAP() 00080 00081 }; 00082 00083 //{{AFX_INSERT_LOCATION}} 00084 00085 #endif // !defined(AFX_DLGURLCOPY_H__CFF49DD5_9C74_4024_B7C0_551F4B05DFB6__INCLUDED_)