Fl_Native_File_Chooser.H 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // "$Id: Fl_Native_File_Chooser.H 7903 2010-11-28 21:06:39Z matt $"
  3. //
  4. // FLTK native OS file chooser widget
  5. //
  6. // Copyright 1998-2010 by Bill Spitzak and others.
  7. // Copyright 2004 Greg Ercolano.
  8. //
  9. // This library is free software; you can redistribute it and/or
  10. // modify it under the terms of the GNU Library General Public
  11. // License as published by the Free Software Foundation; either
  12. // version 2 of the License, or (at your option) any later version.
  13. //
  14. // This library is distributed in the hope that it will be useful,
  15. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. // Library General Public License for more details.
  18. //
  19. // You should have received a copy of the GNU Library General Public
  20. // License along with this library; if not, write to the Free Software
  21. // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  22. // USA.
  23. //
  24. // Please report all bugs and problems on the following page:
  25. //
  26. // http://www.fltk.org/str.php
  27. //
  28. #ifndef FL_NATIVE_FILE_CHOOSER_H
  29. #define FL_NATIVE_FILE_CHOOSER_H
  30. // Use Windows' chooser
  31. #ifdef WIN32
  32. #include <FL/Fl_Native_File_Chooser_WIN32.H>
  33. #endif
  34. // Use Apple's chooser
  35. #ifdef __APPLE__
  36. #include <FL/Fl_Native_File_Chooser_MAC.H>
  37. #endif
  38. // All else falls back to FLTK's own chooser
  39. #if ! defined(__APPLE__) && !defined(WIN32)
  40. #include <FL/Fl_Native_File_Chooser_FLTK.H>
  41. #endif
  42. #endif /*FL_NATIVE_FILE_CHOOSER_H*/
  43. //
  44. // End of "$Id: Fl_Native_File_Chooser.H 7903 2010-11-28 21:06:39Z matt $".
  45. //