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

dlgInvalidFiles.hpp

Go to the documentation of this file.
00001 /* 00002 * wxChecksums 00003 * Copyright (C) 2003-2004 Julien Couot 00004 * 00005 * This program is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public License 00007 * as published by the Free Software Foundation; either version 2 00008 * of the License, or (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 */ 00019 00020 /** 00021 * \file dlgInvalidFiles.hpp 00022 * Invalid files dialog. 00023 */ 00024 00025 #ifndef INC_DLGINVALIDFILES_HPP 00026 #define INC_DLGINVALIDFILES_HPP 00027 00028 //--------------------------------------------------------------------------- 00029 // For compilers that support precompilation, includes "wx.h". 00030 #include <wx/wxprec.h> 00031 00032 #ifdef __BORLANDC__ 00033 #pragma hdrstop 00034 #endif 00035 00036 #ifndef WX_PRECOMP 00037 // Include your minimal set of headers here, or wx.h 00038 #include <wx/wx.h> 00039 #endif 00040 #include <wx/hashmap.h> 00041 //--------------------------------------------------------------------------- 00042 00043 00044 /// A hashmap of string keys and string values 00045 WX_DECLARE_STRING_HASH_MAP(wxString, InvalidFilesContainer); 00046 00047 00048 /** 00049 * Displays invalid files. 00050 */ 00051 class dlgInvalidFiles : public wxDialog 00052 { 00053 public: 00054 // Creates a new dialog. 00055 dlgInvalidFiles(); 00056 00057 // Creates a new dialog. 00058 dlgInvalidFiles(wxWindow* parent, const wxString& title, const wxString& msg, 00059 const InvalidFilesContainer& files); 00060 00061 // Destructor. 00062 virtual ~dlgInvalidFiles(); 00063 00064 // Creates and initializes the controls of the dialog. 00065 void createControls(const wxString& msg, const InvalidFilesContainer& files); 00066 00067 00068 protected: 00069 /// Controls IDs 00070 enum 00071 { 00072 BTN_CLOSE = wxID_HIGHEST + 1, 00073 }; 00074 00075 // Processes button Close 00076 void btnCloseClick(wxCommandEvent& event); 00077 00078 DECLARE_EVENT_TABLE() 00079 00080 private: 00081 DECLARE_DYNAMIC_CLASS(dlgInvalidFiles) 00082 }; 00083 //--------------------------------------------------------------------------- 00084 00085 #endif // INC_DLGINVALIDFILES_HPP

Generated on Sun May 30 13:37:44 2004 for wxChecksums by doxygen 1.3.7