2010-01-14 02:13:59 +03:00
|
|
|
// "$Id$"
|
|
|
|
//
|
|
|
|
// FLTK native OS file chooser widget
|
|
|
|
//
|
2010-11-29 00:12:59 +03:00
|
|
|
// Copyright 1998-2010 by Bill Spitzak and others.
|
2010-01-14 02:13:59 +03:00
|
|
|
// Copyright 2004 Greg Ercolano.
|
|
|
|
//
|
2011-07-19 08:49:30 +04:00
|
|
|
// This library is free software. Distribution and use rights are outlined in
|
|
|
|
// the file "COPYING" which should have been included with this file. If this
|
|
|
|
// file is missing or damaged, see the license at:
|
|
|
|
//
|
|
|
|
// http://www.fltk.org/COPYING.php
|
2010-01-14 02:13:59 +03:00
|
|
|
//
|
|
|
|
// Please report all bugs and problems to:
|
|
|
|
//
|
|
|
|
// http://www.fltk.org/str.php
|
|
|
|
//
|
|
|
|
|
|
|
|
// Use Windows' chooser
|
2010-01-14 23:47:59 +03:00
|
|
|
#ifdef WIN32
|
2010-01-14 02:13:59 +03:00
|
|
|
#include "Fl_Native_File_Chooser_WIN32.cxx"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Use Apple's chooser
|
|
|
|
#ifdef __APPLE__
|
2011-02-06 01:35:51 +03:00
|
|
|
#include <FL/Fl_Native_File_Chooser.H>
|
2010-01-14 02:13:59 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// All else falls back to FLTK's own chooser
|
2010-01-14 23:47:59 +03:00
|
|
|
#if ! defined(__APPLE__) && !defined(WIN32)
|
2010-01-14 02:13:59 +03:00
|
|
|
#include "Fl_Native_File_Chooser_FLTK.cxx"
|
|
|
|
#endif
|
|
|
|
|
2011-01-16 21:26:51 +03:00
|
|
|
const char *Fl_Native_File_Chooser::file_exists_message = "File exists. Are you sure you want to overwrite?";
|
|
|
|
|
2010-01-14 02:13:59 +03:00
|
|
|
//
|
2010-01-14 22:38:23 +03:00
|
|
|
// End of "$Id$".
|
2010-01-14 02:13:59 +03:00
|
|
|
//
|