Skip to content

Commit

Permalink
Protect platform-specific parts from Doxygen.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Mar 4, 2016
1 parent 3c25a33 commit 35214af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Fl_Copy_Surface.cxx
Expand Up @@ -19,13 +19,14 @@
#include "config_lib.h"
#include <FL/Fl_Copy_Surface.H>

#if !defined(FL_DOXYGEN)
#ifdef __APPLE__
#include <src/drivers/Quartz/Fl_Quartz_Copy_Surface.H>

#elif defined(WIN32)
#include <src/drivers/GDI/Fl_GDI_Copy_Surface.H>

#elif defined(FL_PORTING) && !defined(FL_DOXYGEN)
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: implement class Fl_Copy_Surface::Helper for your platform"

class Fl_Copy_Surface::Helper : public Fl_Widget_Surface { // class model
Expand All @@ -47,6 +48,7 @@ class Fl_Copy_Surface::Helper : public Fl_Widget_Surface { // class model
#include <src/drivers/Xlib/Fl_Xlib_Copy_Surface.H>

#endif
#endif // !FL_DOXYGEN

/** the constructor */
Fl_Copy_Surface::Fl_Copy_Surface(int w, int h) : Fl_Widget_Surface(NULL) {
Expand Down

0 comments on commit 35214af

Please sign in to comment.