diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-03-31 09:51:10 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-03-31 09:51:10 +0200 |
| commit | ba03dde15c399fe0c233c3885c9c2f75fac10a9e (patch) | |
| tree | 98eccd3f452282e833fab212ce2e26a12dc885e7 /src/drivers/Posix/Fl_Posix_System_Driver.H | |
| parent | ef414097598e2afbfaf69eed46477da80400c1a0 (diff) | |
Move probe_for_GTK() to class Fl_Posix_System_Driver from Fl_X11_System_Driver.
Similarly move dlopen_or_dlsym().
This move is because GTK is not X11-specific.
Diffstat (limited to 'src/drivers/Posix/Fl_Posix_System_Driver.H')
| -rw-r--r-- | src/drivers/Posix/Fl_Posix_System_Driver.H | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/Posix/Fl_Posix_System_Driver.H b/src/drivers/Posix/Fl_Posix_System_Driver.H index 52c138260..2c577c310 100644 --- a/src/drivers/Posix/Fl_Posix_System_Driver.H +++ b/src/drivers/Posix/Fl_Posix_System_Driver.H @@ -68,7 +68,12 @@ public: virtual int need_menu_handle_part2() {return 1;} #if HAVE_DLFCN_H virtual void *load(const char *filename); +#if HAVE_DLSYM + static void *ptr_gtk; + static bool probe_for_GTK(int major, int minor, void **ptr_gtk); #endif +#endif + static void *dlopen_or_dlsym(const char *lib_name, const char *func_name = NULL); // these 4 are implemented in Fl_lock.cxx virtual void awake(void*); virtual int lock(); |
