00001 // 00002 // "$Id: Fl_Native_File_Chooser.H 7903 2010-11-28 21:06:39Z matt $" 00003 // 00004 // FLTK native OS file chooser widget 00005 // 00006 // Copyright 1998-2010 by Bill Spitzak and others. 00007 // Copyright 2004 Greg Ercolano. 00008 // 00009 // This library is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU Library General Public 00011 // License as published by the Free Software Foundation; either 00012 // version 2 of the License, or (at your option) any later version. 00013 // 00014 // This library is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 // Library General Public License for more details. 00018 // 00019 // You should have received a copy of the GNU Library General Public 00020 // License along with this library; if not, write to the Free Software 00021 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00022 // USA. 00023 // 00024 // Please report all bugs and problems on the following page: 00025 // 00026 // http://www.fltk.org/str.php 00027 // 00028 00029 #ifndef FL_NATIVE_FILE_CHOOSER_H 00030 #define FL_NATIVE_FILE_CHOOSER_H 00031 00032 // Use Windows' chooser 00033 #ifdef WIN32 00034 #include <FL/Fl_Native_File_Chooser_WIN32.H> 00035 #endif 00036 00037 // Use Apple's chooser 00038 #ifdef __APPLE__ 00039 #include <FL/Fl_Native_File_Chooser_MAC.H> 00040 #endif 00041 00042 // All else falls back to FLTK's own chooser 00043 #if ! defined(__APPLE__) && !defined(WIN32) 00044 #include <FL/Fl_Native_File_Chooser_FLTK.H> 00045 #endif 00046 00047 #endif /*FL_NATIVE_FILE_CHOOSER_H*/ 00048 00049 // 00050 // End of "$Id: Fl_Native_File_Chooser.H 7903 2010-11-28 21:06:39Z matt $". 00051 //