diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-04 23:09:32 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-04 23:09:32 +0000 |
| commit | b1520373aebb3f16e1aad19d253c1ec12439664c (patch) | |
| tree | fc48095864b484ab563a34f65040d00a8a3a9c54 /src/Fl_Native_File_Chooser_FLTK.cxx | |
| parent | eb1abad3ca43963f7826f067e70bc3a20db352da (diff) | |
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
Diffstat (limited to 'src/Fl_Native_File_Chooser_FLTK.cxx')
| -rw-r--r-- | src/Fl_Native_File_Chooser_FLTK.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
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 <sys/stat.h> #include <string.h> +#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$". // |
