Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

DlgFileProperties.h

Go to the documentation of this file.
00001 //
00002 // DlgFileProperties.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_DLGFILEPROPERTIES_H__AAD90EC0_F939_459D_90EF_F416A1E72D08__INCLUDED_)
00023 #define AFX_DLGFILEPROPERTIES_H__AAD90EC0_F939_459D_90EF_F416A1E72D08__INCLUDED_
00024 
00025 #pragma once
00026 
00027 #include "DlgSkinDialog.h"
00028 #include "CtrlSchema.h"
00029 #include "CtrlSchemaCombo.h"
00030 
00031 
00032 class CFilePropertiesDlg : public CSkinDialog
00033 {
00034 // Construction
00035 public:
00036         CFilePropertiesDlg(CWnd* pParent = NULL, DWORD nIndex = 0);
00037 
00038         DECLARE_DYNAMIC(CFilePropertiesDlg)
00039 
00040 // Dialog Data
00041 public:
00042         //{{AFX_DATA(CFilePropertiesDlg)
00043         enum { IDD = IDD_FILE_PROPERTIES };
00044         CStatic m_wndHash;
00045         CStatic m_wndIcon;
00046         CButton m_wndCancel;
00047         CButton m_wndOK;
00048         CSchemaCombo    m_wndSchemas;
00049         CString m_sName;
00050         CString m_sSize;
00051         CString m_sType;
00052         CString m_sPath;
00053         CString m_sIndex;
00054         CString m_sSHA1;
00055         CString m_sTiger;
00056         //}}AFX_DATA
00057 
00058 // Attributes
00059 protected:
00060         CSchemaCtrl     m_wndSchema;
00061         DWORD           m_nIndex;
00062         BOOL            m_bHexHash;
00063         int                     m_nWidth;
00064 
00065 // Operations
00066 public:
00067         void    Update();
00068 
00069 // Overrides
00070 public:
00071         //{{AFX_VIRTUAL(CFilePropertiesDlg)
00072         public:
00073         virtual BOOL PreTranslateMessage(MSG* pMsg);
00074         protected:
00075         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00076         //}}AFX_VIRTUAL
00077 
00078 // Implementation
00079 protected:
00080         //{{AFX_MSG(CFilePropertiesDlg)
00081         virtual BOOL OnInitDialog();
00082         afx_msg void OnSize(UINT nType, int cx, int cy);
00083         afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
00084         afx_msg void OnSelChangeSchemas();
00085         virtual void OnOK();
00086         afx_msg void OnDestroy();
00087         afx_msg void OnCloseUpSchemas();
00088         afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
00089         afx_msg void OnTimer(UINT nIDEvent);
00090         //}}AFX_MSG
00091         DECLARE_MESSAGE_MAP()
00092 };
00093 
00094 //{{AFX_INSERT_LOCATION}}
00095 
00096 #define IDC_METADATA            100
00097 
00098 #endif // !defined(AFX_DLGFILEPROPERTIES_H__AAD90EC0_F939_459D_90EF_F416A1E72D08__INCLUDED_)

Generated on Thu Dec 15 10:39:39 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2