00001 // 00002 // DlgFolderScan.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_DLGFOLDERSCAN_H__2FB9F048_44EC_4306_8023_46244F674629__INCLUDED_) 00023 #define AFX_DLGFOLDERSCAN_H__2FB9F048_44EC_4306_8023_46244F674629__INCLUDED_ 00024 00025 #pragma once 00026 00027 #include "DlgSkinDialog.h" 00028 00029 00030 class CFolderScanDlg : public CSkinDialog 00031 { 00032 // Construction 00033 public: 00034 CFolderScanDlg(CWnd* pParent = NULL); 00035 virtual ~CFolderScanDlg(); 00036 00037 // Dialog Data 00038 public: 00039 //{{AFX_DATA(CFolderScanDlg) 00040 enum { IDD = IDD_FOLDER_SCAN }; 00041 CStatic m_wndVolume; 00042 CStatic m_wndFiles; 00043 CStatic m_wndFile; 00044 //}}AFX_DATA 00045 00046 // Operations 00047 public: 00048 static void Update(LPCTSTR pszName, DWORD nVolume);//, BOOL bLock); 00049 void InstanceUpdate(LPCTSTR pszName, DWORD nVolume); 00050 00051 // Data 00052 protected: 00053 static CFolderScanDlg* m_pDialog; 00054 DWORD m_nCookie; 00055 DWORD m_nFiles; 00056 DWORD m_nVolume; 00057 DWORD m_tLastUpdate; 00058 BOOL m_bActive; 00059 00060 // Overrides 00061 public: 00062 //{{AFX_VIRTUAL(CFolderScanDlg) 00063 protected: 00064 virtual void DoDataExchange(CDataExchange* pDX); 00065 //}}AFX_VIRTUAL 00066 00067 // Implementation 00068 protected: 00069 //{{AFX_MSG(CFolderScanDlg) 00070 virtual BOOL OnInitDialog(); 00071 virtual void OnCancel(); 00072 afx_msg void OnTimer(UINT nIDEvent); 00073 //}}AFX_MSG 00074 DECLARE_MESSAGE_MAP() 00075 00076 }; 00077 00078 //{{AFX_INSERT_LOCATION}} 00079 00080 #endif // !defined(AFX_DLGFOLDERSCAN_H__2FB9F048_44EC_4306_8023_46244F674629__INCLUDED_)