00001 /* 00002 pGina ldapAuth code - based upon skeleton code for pGina plugin development 00003 Copyright (C) 2002 Micah Cooper 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 Email: coopermj@muohio.edu 00020 Snail Mail: 00021 Micah Cooper 00022 212A Kreger Hall 00023 Miami University 00024 Oxford OH 45056 00025 */ 00026 #if !defined(AFX_SelectFile_H__E4091ABB_307F_4D80_A8C3_60F736F9ACE7__INCLUDED_) 00027 #define AFX_SelectFile_H__E4091ABB_307F_4D80_A8C3_60F736F9ACE7__INCLUDED_ 00028 00029 #if _MSC_VER > 1000 00030 #pragma once 00031 #endif // _MSC_VER > 1000 00032 // SelectFile.h : header file 00033 // 00034 00036 // SelectFile dialog 00037 00038 class SelectFile : public CFileDialog 00039 { 00040 DECLARE_DYNAMIC(SelectFile) 00041 00042 public: 00043 SelectFile(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs 00044 LPCTSTR lpszDefExt = NULL, 00045 LPCTSTR lpszFileName = NULL, 00046 DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, 00047 LPCTSTR lpszFilter = NULL, 00048 CWnd* pParentWnd = NULL); 00049 00050 protected: 00051 //{{AFX_MSG(SelectFile) 00052 // NOTE - the ClassWizard will add and remove member functions here. 00053 //}}AFX_MSG 00054 DECLARE_MESSAGE_MAP() 00055 }; 00056 00057 //{{AFX_INSERT_LOCATION}} 00058 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00059 00060 #endif // !defined(AFX_SelectFile_H__E4091ABB_307F_4D80_A8C3_60F736F9ACE7__INCLUDED_)