1 /* 2 FXiTe - The Free eXtensIble Text Editor 3 Copyright (c) 2009-2011 Jeffrey Pohlmeyer <yetanothergeek@gmail.com> 4 5 This program is free software; you can redistribute it and/or modify it 6 under the terms of the GNU General Public License version 3 as 7 published by the Free Software Foundation. 8 9 This software is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 14 You should have received a copy of the GNU General Public License 15 along with this program; if not, write to the Free Software 16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 */ 18 19 20 21 // Dialog box to modify preferences for the file dialog's filter list. 22 class FileFiltersDlg: public DescListDlg { 23 virtual void setText(const FXString str); 24 virtual const FXString& getText(); 25 virtual bool Verify(FXString&item); 26 virtual void RestoreAppDefaults(); 27 public: 28 virtual FXuint execute(FXuint placement=PLACEMENT_SCREEN); 29 FileFiltersDlg(FXWindow* w); 30 }; 31 32 33 class ErrPatDlg: public DescListDlg { 34 virtual void setText(const FXString str); 35 virtual const FXString& getText(); 36 virtual bool Verify(FXString&item); 37 virtual void RestoreAppDefaults(); 38 public: 39 virtual FXuint execute(FXuint placement=PLACEMENT_SCREEN); 40 ErrPatDlg(FXWindow* w); 41 }; 42 43 44 class SysIncDlg: public DescListDlg { 45 virtual void setText(const FXString str); 46 virtual const FXString& getText(); 47 virtual bool Verify(FXString&item); 48 virtual void RestoreAppDefaults(); 49 virtual bool Browse(FXString &text); 50 public: 51 virtual FXuint execute(FXuint placement=PLACEMENT_SCREEN); 52 SysIncDlg(FXWindow* w); 53 }; 54 55