From b1520373aebb3f16e1aad19d253c1ec12439664c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 4 Jan 2016 23:09:32 +0000 Subject: Created pseudo code for all FL_PORTED section so that FLTK compiles and links (Xcode, hello, other C flags: -D FL_PORTING -U __APPLE__ -U __APPLE_QUARTZ__) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Native_File_Chooser_FLTK.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/Fl_Native_File_Chooser_FLTK.cxx') diff --git a/src/Fl_Native_File_Chooser_FLTK.cxx b/src/Fl_Native_File_Chooser_FLTK.cxx index 1228a5447..64da6e69d 100644 --- a/src/Fl_Native_File_Chooser_FLTK.cxx +++ b/src/Fl_Native_File_Chooser_FLTK.cxx @@ -30,6 +30,18 @@ #include #include +#if defined(FL_PORTING) +# pragma message "FL_PORTING: implement Fl_Native_File_Chooser" +int Fl_Native_File_Chooser::show() { return 0; } +void Fl_Native_File_Chooser::type(int t) { } +void Fl_Native_File_Chooser::title(const char *t) { } +void Fl_Native_File_Chooser::filter(const char *f) { } +void Fl_Native_File_Chooser::options(int val) { } +const char *Fl_Native_File_Chooser::filename() const { return 0; } +Fl_Native_File_Chooser::Fl_Native_File_Chooser(int) { } +Fl_Native_File_Chooser::~Fl_Native_File_Chooser() { } +#else + int Fl_Native_File_Chooser::have_looked_for_GTK_libs = 0; /** @@ -504,6 +516,8 @@ int Fl_FLTK_File_Chooser::exist_dialog() { return fl_choice("%s", fl_cancel, fl_ok, NULL, Fl_Native_File_Chooser::file_exists_message); } +#endif + // // End of "$Id$". // -- cgit v1.2.3