Remove FL_EXPORT qualifier from platform-specific class declarations.

This commit is contained in:
ManoloFLTK 2022-08-20 10:16:32 +02:00
parent b24379133f
commit 7deff86b5d
23 changed files with 25 additions and 25 deletions

View File

@ -112,7 +112,7 @@ public:
It is currently used to provide an automated printing
service and screen capture for OpenGL windows, if linked with fltk_gl.
*/
class FL_EXPORT Fl_Device_Plugin : public Fl_Plugin {
class Fl_Device_Plugin : public Fl_Plugin {
public:
/** \brief The constructor */
Fl_Device_Plugin(const char *pluginName)

View File

@ -65,7 +65,7 @@ extern FL_EXPORT void *fl_xftfont;
// With Xlib / X11 fonts, fl_xfont will return the current selected font.
// With XFT / X11 fonts, fl_xfont will attempt to return the bitmap "core" font most
// similar to (usually the same as) the current XFT font.
class FL_EXPORT Fl_XFont_On_Demand
class Fl_XFont_On_Demand
{
public:
Fl_XFont_On_Demand(XFontStruct* p = NULL) : ptr(p) { }

View File

@ -103,7 +103,7 @@ typedef void (*GClosureNotify)(gpointer data, GClosure *closure);
/* --------------------- End of Type definitions from GLIB and GTK --------------------- */
class FL_EXPORT Fl_GTK_Native_File_Chooser_Driver : public Fl_Native_File_Chooser_FLTK_Driver {
class Fl_GTK_Native_File_Chooser_Driver : public Fl_Native_File_Chooser_FLTK_Driver {
friend class Fl_Native_File_Chooser;
private:
static int have_looked_for_GTK_libs;

View File

@ -19,7 +19,7 @@
#include <FL/Fl_Native_File_Chooser.H>
class FL_EXPORT Fl_Kdialog_Native_File_Chooser_Driver : public Fl_Native_File_Chooser_FLTK_Driver {
class Fl_Kdialog_Native_File_Chooser_Driver : public Fl_Native_File_Chooser_FLTK_Driver {
friend class Fl_Native_File_Chooser;
struct fnfc_pipe_struct {
char *all_files;

View File

@ -51,7 +51,7 @@ class Fl_Input;
Each supported platform implements several of the virtual methods of this class.
*/
class FL_EXPORT Fl_Screen_Driver {
class Fl_Screen_Driver {
protected:
Fl_Screen_Driver();

View File

@ -59,7 +59,7 @@ class Fl_Sys_Menu_Bar_Driver;
This class is only for internal use by the FLTK library.
Each supported platform implements several of the virtual methods of this class.
*/
class FL_EXPORT Fl_System_Driver {
class Fl_System_Driver {
friend class Fl;
public:
struct Keyname {

View File

@ -48,7 +48,7 @@ class Fl_RGB_Image;
sure that the Graphics Driver will draw into the bitmap associated with
this window.
*/
class FL_EXPORT Fl_Window_Driver
class Fl_Window_Driver
{
friend class Fl_Window;
private:

View File

@ -45,7 +45,7 @@ class Fl_RGB_Image;
class NSImage;
#endif
class FL_EXPORT Fl_Cocoa_Screen_Driver : public Fl_Screen_Driver
class Fl_Cocoa_Screen_Driver : public Fl_Screen_Driver
{
protected:
struct XRectangle {int x, y, width, height;};

View File

@ -72,7 +72,7 @@ class NSOpenGLPixelFormat;
*/
class FL_EXPORT Fl_Cocoa_Window_Driver : public Fl_Window_Driver
class Fl_Cocoa_Window_Driver : public Fl_Window_Driver
{
private:
struct shape_data_type {

View File

@ -42,7 +42,7 @@
This class is implemented only on the Windows platform.
*/
class FL_EXPORT Fl_GDI_Graphics_Driver : public Fl_Scalable_Graphics_Driver {
class Fl_GDI_Graphics_Driver : public Fl_Scalable_Graphics_Driver {
private:
BOOL alpha_blend_(int x, int y, int w, int h, HDC src_gc, int srcx, int srcy, int srcw, int srch);
int depth; // to support translation
@ -162,7 +162,7 @@ protected:
This class is implemented only on the Windows platform.
It is extremely similar to Fl_GDI_Graphics_Driver.
*/
class FL_EXPORT Fl_GDI_Printer_Graphics_Driver : public Fl_GDI_Graphics_Driver {
class Fl_GDI_Printer_Graphics_Driver : public Fl_GDI_Graphics_Driver {
private:
typedef BOOL (WINAPI* transparent_f_type) (HDC,int,int,int,int,HDC,int,int,int,int,UINT);
transparent_f_type TransparentBlt();

View File

@ -22,7 +22,7 @@ class Fl_OpenGL_Graphics_Driver;
OpenGL Surface.
This surface is needed as an interface between GL windows and the GL graphics driver.
*/
class FL_EXPORT Fl_OpenGL_Display_Device : public Fl_Surface_Device {
class Fl_OpenGL_Display_Device : public Fl_Surface_Device {
Fl_OpenGL_Display_Device(Fl_OpenGL_Graphics_Driver *graphics_driver);
public:
static Fl_OpenGL_Display_Device *display_device();

View File

@ -29,7 +29,7 @@
/**
\brief OpenGL specific graphics class.
*/
class FL_EXPORT Fl_OpenGL_Graphics_Driver : public Fl_Graphics_Driver {
class Fl_OpenGL_Graphics_Driver : public Fl_Graphics_Driver {
public:
float pixels_per_unit_;
float line_width_;

View File

@ -41,7 +41,7 @@
#include "../Cairo/Fl_Cairo_Graphics_Driver.H"
class FL_EXPORT Fl_PostScript_Graphics_Driver : public Fl_Cairo_Graphics_Driver {
class Fl_PostScript_Graphics_Driver : public Fl_Cairo_Graphics_Driver {
public:
FILE *output;
Fl_PostScript_Close_Command close_cmd_;
@ -89,7 +89,7 @@ public:
#else // ! USE_PANGO
class FL_EXPORT Fl_PostScript_Graphics_Driver : public Fl_Graphics_Driver {
class Fl_PostScript_Graphics_Driver : public Fl_Graphics_Driver {
private:
void transformed_draw_extra(const char* str, int n, double x, double y, int w, bool rtl);
void *prepare_rle85();

View File

@ -21,7 +21,7 @@
#include "../Posix/Fl_Posix_System_Driver.H"
class Fl_RGB_Image;
class FL_EXPORT Fl_Unix_System_Driver : public Fl_Posix_System_Driver {
class Fl_Unix_System_Driver : public Fl_Posix_System_Driver {
public:
virtual int clocale_vsnprintf(char *output, size_t output_size, const char *format, va_list args);
virtual int clocale_vsscanf(const char *input, const char *format, va_list args);

View File

@ -68,7 +68,7 @@ struct fl_wld_buffer {
struct wld_window;
class FL_EXPORT Fl_Wayland_Graphics_Driver : public Fl_Cairo_Graphics_Driver {
class Fl_Wayland_Graphics_Driver : public Fl_Cairo_Graphics_Driver {
private:
struct fl_wld_buffer *buffer_;
public:

View File

@ -53,7 +53,7 @@ struct seat {
struct zwp_text_input_v3 *text_input;
};
class FL_EXPORT Fl_Wayland_Screen_Driver : public Fl_Screen_Driver
class Fl_Wayland_Screen_Driver : public Fl_Screen_Driver
{
friend class Fl_Screen_Driver;
friend class Fl_Wayland_Graphics_Driver;

View File

@ -20,7 +20,7 @@
#include "../Unix/Fl_Unix_System_Driver.H"
class FL_EXPORT Fl_Wayland_System_Driver : public Fl_Unix_System_Driver {
class Fl_Wayland_System_Driver : public Fl_Unix_System_Driver {
public:
virtual int need_menu_handle_part2() {return 0;}
int event_key(int k);

View File

@ -43,7 +43,7 @@
typedef struct _cairo_pattern cairo_pattern_t;
class FL_EXPORT Fl_Wayland_Window_Driver : public Fl_Window_Driver
class Fl_Wayland_Window_Driver : public Fl_Window_Driver
{
friend class Fl_X;
friend class Fl_Wayland_Gl_Window_Driver;

View File

@ -28,7 +28,7 @@
class Fl_Window;
class FL_EXPORT Fl_WinAPI_Screen_Driver : public Fl_Screen_Driver
class Fl_WinAPI_Screen_Driver : public Fl_Screen_Driver
{
protected:
RECT screens[MAX_SCREENS];

View File

@ -43,7 +43,7 @@
class FL_EXPORT Fl_WinAPI_Window_Driver : public Fl_Window_Driver
class Fl_WinAPI_Window_Driver : public Fl_Window_Driver
{
struct icon_data {
const void *legacy_icon;

View File

@ -31,7 +31,7 @@
class Fl_Window;
class FL_EXPORT Fl_X11_Screen_Driver : public Fl_Screen_Driver
class Fl_X11_Screen_Driver : public Fl_Screen_Driver
{
friend class Fl_Screen_Driver;
protected:

View File

@ -44,7 +44,7 @@ class Fl_Bitmap;
*/
class FL_EXPORT Fl_X11_Window_Driver : public Fl_Window_Driver
class Fl_X11_Window_Driver : public Fl_Window_Driver
{
friend class Fl_X;
friend int fl_handle(const XEvent&);

View File

@ -51,7 +51,7 @@ struct _XRegion {
This class is implemented only on the Xlib platform.
*/
class FL_EXPORT Fl_Xlib_Graphics_Driver : public Fl_Scalable_Graphics_Driver {
class Fl_Xlib_Graphics_Driver : public Fl_Scalable_Graphics_Driver {
private:
int offset_x_, offset_y_; // translation between user and graphical coordinates: graphical = user + offset
unsigned depth_; // depth of translation stack