diff options
| author | Manolo Gouy <Manolo> | 2016-04-01 10:28:03 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-01 10:28:03 +0000 |
| commit | f1a157bdd94c7680629145a577c2ce1d97f2e161 (patch) | |
| tree | 7b6c5d8a8a4c751f0a923e7c27b558de799d2c53 /FL/Fl_System_Driver.H | |
| parent | 524ebcef0bd7db2c821414ae7296dd3bb5dfaf9c (diff) | |
Replace Fl_System_Driver::driver() by Fl::system_driver()
for coherence with the Fl::screen_driver() function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_System_Driver.H')
| -rw-r--r-- | FL/Fl_System_Driver.H | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index c946f6836..a46820100 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -65,12 +65,13 @@ typedef int FL_SOCKET; \brief A base class for platform-specific system operations. */ class FL_EXPORT Fl_System_Driver { + friend class Fl; protected: + // implement once for each platform + static Fl_System_Driver *newSystemDriver(); Fl_System_Driver(); public: virtual ~Fl_System_Driver(); - // copy the implementation in Fl_XXX_System_Driver.cxx to the corresponding file for the new platform - static Fl_System_Driver *driver(); // These flags are useful after calling XParseGeometry(). They indicate which of its arguments // contain meaningful data upon return. static const int flNoValue; @@ -80,6 +81,7 @@ public: static const int flYValue; static const int flXNegative; static const int flYNegative; + // implement if the system adds unwanted program argument(s) virtual int single_arg(const char *arg) { return 0; } // implement if the system adds unwanted program argument pair(s) |
