Kaydet (Commit) 1984bb05 authored tarafından Alexandre Vicenzi's avatar Alexandre Vicenzi Kaydeden (comit) Caolán McNamara

fdo#63154 Removed unused solar.h ref. in vcl

Change-Id: I038c941559a275c43c2be7d5453ca4c37390f343
Reviewed-on: https://gerrit.libreoffice.org/7733Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst c5685ec7
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#define INCLUDED_VCL_ABSTDLG_HXX #define INCLUDED_VCL_ABSTDLG_HXX
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
class Window; class Window;
...@@ -64,8 +63,6 @@ public: ...@@ -64,8 +63,6 @@ public:
virtual bool IsRecommendToOpenReadonly() const = 0; virtual bool IsRecommendToOpenReadonly() const = 0;
}; };
//-------------------------------------------------------------
class VCL_DLLPUBLIC VclAbstractDialogFactory class VCL_DLLPUBLIC VclAbstractDialogFactory
{ {
public: public:
......
...@@ -20,20 +20,15 @@ ...@@ -20,20 +20,15 @@
#ifndef INCLUDED_VCL_ACCEL_HXX #ifndef INCLUDED_VCL_ACCEL_HXX
#define INCLUDED_VCL_ACCEL_HXX #define INCLUDED_VCL_ACCEL_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <tools/link.hxx> #include <tools/link.hxx>
#include <tools/resid.hxx> #include <tools/resid.hxx>
#include <tools/rc.hxx> #include <tools/rc.hxx>
#include <vcl/keycod.hxx> #include <vcl/keycod.hxx>
#include <vcl/dllapi.h>
class ImplAccelData; class ImplAccelData;
class ImplAccelEntry; class ImplAccelEntry;
// ---------------
// - Accelerator -
// ---------------
class VCL_DLLPUBLIC Accelerator : public Resource class VCL_DLLPUBLIC Accelerator : public Resource
{ {
friend class ImplAccelManager; friend class ImplAccelManager;
......
...@@ -20,14 +20,9 @@ ...@@ -20,14 +20,9 @@
#ifndef INCLUDED_VCL_APPTYPES_HXX #ifndef INCLUDED_VCL_APPTYPES_HXX
#define INCLUDED_VCL_APPTYPES_HXX #define INCLUDED_VCL_APPTYPES_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <tools/rtti.hxx> #include <tools/rtti.hxx>
// ---------------------
// - Application-Types -
// ---------------------
#define EXC_RSCNOTLOADED ((sal_uInt16)0x0100) #define EXC_RSCNOTLOADED ((sal_uInt16)0x0100)
#define EXC_SYSOBJNOTCREATED ((sal_uInt16)0x0200) #define EXC_SYSOBJNOTCREATED ((sal_uInt16)0x0200)
#define EXC_SYSTEM ((sal_uInt16)0x0300) #define EXC_SYSTEM ((sal_uInt16)0x0300)
......
...@@ -21,18 +21,12 @@ ...@@ -21,18 +21,12 @@
#define INCLUDED_VCL_BTNDLG_HXX #define INCLUDED_VCL_BTNDLG_HXX
#include <boost/ptr_container/ptr_vector.hpp> #include <boost/ptr_container/ptr_vector.hpp>
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/dialog.hxx> #include <vcl/dialog.hxx>
struct ImplBtnDlgItem; struct ImplBtnDlgItem;
class PushButton; class PushButton;
// ----------------------
// - ButtonDialog-Types -
// ----------------------
#define BUTTONDIALOG_BUTTON_NOTFOUND ((sal_uInt16)0xFFFF) #define BUTTONDIALOG_BUTTON_NOTFOUND ((sal_uInt16)0xFFFF)
#define BUTTONDIALOG_DEFBUTTON ((sal_uInt16)0x0001) #define BUTTONDIALOG_DEFBUTTON ((sal_uInt16)0x0001)
...@@ -41,10 +35,6 @@ class PushButton; ...@@ -41,10 +35,6 @@ class PushButton;
#define BUTTONDIALOG_HELPBUTTON ((sal_uInt16)0x0008) #define BUTTONDIALOG_HELPBUTTON ((sal_uInt16)0x0008)
#define BUTTONDIALOG_FOCUSBUTTON ((sal_uInt16)0x0010) #define BUTTONDIALOG_FOCUSBUTTON ((sal_uInt16)0x0010)
// ----------------
// - ButtonDialog -
// ----------------
class VCL_DLLPUBLIC ButtonDialog : public Dialog class VCL_DLLPUBLIC ButtonDialog : public Dialog
{ {
private: private:
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <tools/gen.hxx> #include <tools/gen.hxx>
#include <tools/link.hxx> #include <tools/link.hxx>
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
struct ImplCursorData; struct ImplCursorData;
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef INCLUDED_VCL_DECOVIEW_HXX #ifndef INCLUDED_VCL_DECOVIEW_HXX
#define INCLUDED_VCL_DECOVIEW_HXX #define INCLUDED_VCL_DECOVIEW_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <rsc/rsc-vcl-shared-types.hxx> #include <rsc/rsc-vcl-shared-types.hxx>
...@@ -29,10 +28,6 @@ class Point; ...@@ -29,10 +28,6 @@ class Point;
class Color; class Color;
class OutputDevice; class OutputDevice;
// ------------------------
// - DecorationView-Types -
// ------------------------
// Flags for DrawSymbol() // Flags for DrawSymbol()
#define SYMBOL_DRAW_MONO ((sal_uInt16)0x0001) #define SYMBOL_DRAW_MONO ((sal_uInt16)0x0001)
#define SYMBOL_DRAW_DISABLE ((sal_uInt16)0x0002) #define SYMBOL_DRAW_DISABLE ((sal_uInt16)0x0002)
...@@ -72,10 +67,6 @@ class OutputDevice; ...@@ -72,10 +67,6 @@ class OutputDevice;
#define BUTTON_DRAW_NOTEXT ((sal_uInt16)0x2000) #define BUTTON_DRAW_NOTEXT ((sal_uInt16)0x2000)
#define BUTTON_DRAW_NOIMAGE ((sal_uInt16)0x4000) #define BUTTON_DRAW_NOIMAGE ((sal_uInt16)0x4000)
// ------------------
// - DecorationView -
// ------------------
class VCL_DLLPUBLIC DecorationView class VCL_DLLPUBLIC DecorationView
{ {
private: private:
......
...@@ -20,14 +20,10 @@ ...@@ -20,14 +20,10 @@
#ifndef INCLUDED_VCL_DOCKINGAREA_HXX #ifndef INCLUDED_VCL_DOCKINGAREA_HXX
#define INCLUDED_VCL_DOCKINGAREA_HXX #define INCLUDED_VCL_DOCKINGAREA_HXX
#include <tools/solar.h>
#include <vcl/window.hxx> #include <vcl/window.hxx>
// ------------------------------------------
// A simple container for docked toolbars // A simple container for docked toolbars
// - its main purpose is theming support // - its main purpose is theming support
// ------------------------------------------
class VCL_DLLPUBLIC DockingAreaWindow : public Window class VCL_DLLPUBLIC DockingAreaWindow : public Window
{ {
class ImplData; class ImplData;
......
...@@ -20,13 +20,8 @@ ...@@ -20,13 +20,8 @@
#ifndef INCLUDED_VCL_FNTSTYLE_HXX #ifndef INCLUDED_VCL_FNTSTYLE_HXX
#define INCLUDED_VCL_FNTSTYLE_HXX #define INCLUDED_VCL_FNTSTYLE_HXX
#include <tools/solar.h>
#include <sal/types.h> #include <sal/types.h>
// --------------
// - Font enums -
// --------------
#ifndef ENUM_FONTRELIEF_DECLARED #ifndef ENUM_FONTRELIEF_DECLARED
#define ENUM_FONTRELIEF_DECLARED #define ENUM_FONTRELIEF_DECLARED
...@@ -34,10 +29,6 @@ enum FontRelief { RELIEF_NONE, RELIEF_EMBOSSED, RELIEF_ENGRAVED, FontRelief_FORC ...@@ -34,10 +29,6 @@ enum FontRelief { RELIEF_NONE, RELIEF_EMBOSSED, RELIEF_ENGRAVED, FontRelief_FORC
#endif #endif
// --------------
// - Font types -
// --------------
typedef sal_uInt8 FontKerning; typedef sal_uInt8 FontKerning;
#define KERNING_FONTSPECIFIC ((FontKerning)0x01) #define KERNING_FONTSPECIFIC ((FontKerning)0x01)
#define KERNING_ASIAN ((FontKerning)0x02) #define KERNING_ASIAN ((FontKerning)0x02)
......
...@@ -21,13 +21,8 @@ ...@@ -21,13 +21,8 @@
#define INCLUDED_VCL_GRAPH_H #define INCLUDED_VCL_GRAPH_H
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
// ---------------
// - GraphicType -
// ---------------
enum GraphicType enum GraphicType
{ {
GRAPHIC_NONE, GRAPHIC_NONE,
...@@ -36,10 +31,6 @@ enum GraphicType ...@@ -36,10 +31,6 @@ enum GraphicType
GRAPHIC_DEFAULT GRAPHIC_DEFAULT
}; };
// -----------------
// - GraphicReader -
// -----------------
class ReaderData; class ReaderData;
class VCL_DLLPUBLIC GraphicReader class VCL_DLLPUBLIC GraphicReader
......
...@@ -20,14 +20,9 @@ ...@@ -20,14 +20,9 @@
#ifndef INCLUDED_VCL_INTROWIN_HXX #ifndef INCLUDED_VCL_INTROWIN_HXX
#define INCLUDED_VCL_INTROWIN_HXX #define INCLUDED_VCL_INTROWIN_HXX
#include <tools/solar.h> #include <vcl/bitmapex.hxx>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/wrkwin.hxx> #include <vcl/wrkwin.hxx>
#include <vcl/bitmapex.hxx>
// --------------
// - IntroWindow -
// --------------
class VCL_DLLPUBLIC IntroWindow : public WorkWindow class VCL_DLLPUBLIC IntroWindow : public WorkWindow
{ {
......
...@@ -20,18 +20,12 @@ ...@@ -20,18 +20,12 @@
#ifndef INCLUDED_VCL_JOBSET_HXX #ifndef INCLUDED_VCL_JOBSET_HXX
#define INCLUDED_VCL_JOBSET_HXX #define INCLUDED_VCL_JOBSET_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/prntypes.hxx> #include <vcl/prntypes.hxx>
class SvStream; class SvStream;
struct ImplJobSetup; struct ImplJobSetup;
// ------------
// - JobSetup -
// ------------
class VCL_DLLPUBLIC JobSetup class VCL_DLLPUBLIC JobSetup
{ {
friend class Printer; friend class Printer;
......
...@@ -21,19 +21,13 @@ ...@@ -21,19 +21,13 @@
#define INCLUDED_VCL_KEYCOD_HXX #define INCLUDED_VCL_KEYCOD_HXX
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <tools/solar.h>
#include <tools/resid.hxx> #include <tools/resid.hxx>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/keycodes.hxx> #include <vcl/keycodes.hxx>
#include <vcl/vclenum.hxx> #include <vcl/vclenum.hxx>
class Window; class Window;
// -----------
// - KeyCode -
// -----------
class VCL_DLLPUBLIC KeyCode class VCL_DLLPUBLIC KeyCode
{ {
private: private:
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef INCLUDED_VCL_KEYCODES_HXX #ifndef INCLUDED_VCL_KEYCODES_HXX
#define INCLUDED_VCL_KEYCODES_HXX #define INCLUDED_VCL_KEYCODES_HXX
#include <tools/solar.h>
#include <rsc/rsc-vcl-shared-types.hxx> #include <rsc/rsc-vcl-shared-types.hxx>
#undef DELETE #undef DELETE
#include <com/sun/star/awt/Key.hpp> #include <com/sun/star/awt/Key.hpp>
...@@ -165,18 +164,10 @@ ...@@ -165,18 +164,10 @@
#define MODKEY_MOD2 (MODKEY_LMOD2|MODKEY_RMOD2) #define MODKEY_MOD2 (MODKEY_LMOD2|MODKEY_RMOD2)
#define MODKEY_MOD3 (MODKEY_LMOD3|MODKEY_RMOD3) #define MODKEY_MOD3 (MODKEY_LMOD3|MODKEY_RMOD3)
// ---------------
// - Mouse-Types -
// ---------------
#define MOUSE_LEFT ((sal_uInt16)0x0001) #define MOUSE_LEFT ((sal_uInt16)0x0001)
#define MOUSE_MIDDLE ((sal_uInt16)0x0002) #define MOUSE_MIDDLE ((sal_uInt16)0x0002)
#define MOUSE_RIGHT ((sal_uInt16)0x0004) #define MOUSE_RIGHT ((sal_uInt16)0x0004)
// -------------------
// - Indicator-Types -
// -------------------
#define INDICATOR_CAPSLOCK 0x0001 #define INDICATOR_CAPSLOCK 0x0001
#define INDICATOR_NUMLOCK 0x0002 #define INDICATOR_NUMLOCK 0x0002
#define INDICATOR_SCROLLLOCK 0x0004 #define INDICATOR_SCROLLLOCK 0x0004
......
...@@ -20,25 +20,16 @@ ...@@ -20,25 +20,16 @@
#ifndef INCLUDED_VCL_MENUBTN_HXX #ifndef INCLUDED_VCL_MENUBTN_HXX
#define INCLUDED_VCL_MENUBTN_HXX #define INCLUDED_VCL_MENUBTN_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <vcl/button.hxx> #include <vcl/button.hxx>
#include <vcl/dllapi.h>
class Timer; class Timer;
class PopupMenu; class PopupMenu;
class VclBuilder; class VclBuilder;
class VclSimpleEvent; class VclSimpleEvent;
// --------------------
// - MenuButton-Types -
// --------------------
#define MENUBUTTON_MENUMODE_TIMED ((sal_uInt16)0x0001) #define MENUBUTTON_MENUMODE_TIMED ((sal_uInt16)0x0001)
// --------------
// - MenuButton -
// --------------
class VCL_DLLPUBLIC MenuButton : public PushButton class VCL_DLLPUBLIC MenuButton : public PushButton
{ {
private: private:
......
...@@ -20,19 +20,15 @@ ...@@ -20,19 +20,15 @@
#ifndef INCLUDED_VCL_MSGBOX_HXX #ifndef INCLUDED_VCL_MSGBOX_HXX
#define INCLUDED_VCL_MSGBOX_HXX #define INCLUDED_VCL_MSGBOX_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/btndlg.hxx> #include <vcl/btndlg.hxx>
#include <vcl/image.hxx> #include <vcl/image.hxx>
#include <vcl/bitmap.hxx> #include <vcl/bitmap.hxx>
class VclMultiLineEdit; class VclMultiLineEdit;
class FixedImage; class FixedImage;
class CheckBox; class CheckBox;
// -----------
// - MessBox -
// -----------
class VCL_DLLPUBLIC MessBox : public ButtonDialog class VCL_DLLPUBLIC MessBox : public ButtonDialog
{ {
protected: protected:
...@@ -74,10 +70,6 @@ public: ...@@ -74,10 +70,6 @@ public:
virtual Size GetOptimalSize() const; virtual Size GetOptimalSize() const;
}; };
// -----------
// - InfoBox -
// -----------
class VCL_DLLPUBLIC InfoBox : public MessBox class VCL_DLLPUBLIC InfoBox : public MessBox
{ {
private: private:
...@@ -92,10 +84,6 @@ public: ...@@ -92,10 +84,6 @@ public:
static Image GetStandardImage(); static Image GetStandardImage();
}; };
// --------------
// - WarningBox -
// --------------
class VCL_DLLPUBLIC WarningBox : public MessBox class VCL_DLLPUBLIC WarningBox : public MessBox
{ {
private: private:
...@@ -111,10 +99,6 @@ public: ...@@ -111,10 +99,6 @@ public:
static Image GetStandardImage(); static Image GetStandardImage();
}; };
// ------------
// - ErrorBox -
// ------------
class VCL_DLLPUBLIC ErrorBox : public MessBox class VCL_DLLPUBLIC ErrorBox : public MessBox
{ {
private: private:
...@@ -128,10 +112,6 @@ public: ...@@ -128,10 +112,6 @@ public:
static Image GetStandardImage(); static Image GetStandardImage();
}; };
// ------------
// - QueryBox -
// ------------
class VCL_DLLPUBLIC QueryBox : public MessBox class VCL_DLLPUBLIC QueryBox : public MessBox
{ {
private: private:
......
...@@ -20,16 +20,11 @@ ...@@ -20,16 +20,11 @@
#ifndef INCLUDED_VCL_POINTR_HXX #ifndef INCLUDED_VCL_POINTR_HXX
#define INCLUDED_VCL_POINTR_HXX #define INCLUDED_VCL_POINTR_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/ptrstyle.hxx> #include <vcl/ptrstyle.hxx>
class Point; class Point;
// -----------
// - Pointer -
// -----------
class VCL_DLLPUBLIC Pointer class VCL_DLLPUBLIC Pointer
{ {
PointerStyle meStyle; PointerStyle meStyle;
......
...@@ -20,12 +20,6 @@ ...@@ -20,12 +20,6 @@
#ifndef INCLUDED_VCL_PTRSTYLE_HXX #ifndef INCLUDED_VCL_PTRSTYLE_HXX
#define INCLUDED_VCL_PTRSTYLE_HXX #define INCLUDED_VCL_PTRSTYLE_HXX
#include <tools/solar.h>
// -----------------
// - Pointer-Types -
// -----------------
typedef sal_uInt16 PointerStyle; typedef sal_uInt16 PointerStyle;
#define POINTER_ARROW ((PointerStyle)0) #define POINTER_ARROW ((PointerStyle)0)
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#define INCLUDED_VCL_REGION_HXX #define INCLUDED_VCL_REGION_HXX
#include <tools/gen.hxx> #include <tools/gen.hxx>
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <basegfx/polygon/b2dpolypolygon.hxx> #include <basegfx/polygon/b2dpolypolygon.hxx>
...@@ -32,15 +31,11 @@ class RegionBand; ...@@ -32,15 +31,11 @@ class RegionBand;
class Polygon; class Polygon;
class PolyPolygon; class PolyPolygon;
//////////////////////////////////////////////////////////////////////////////
typedef boost::shared_ptr< RegionBand > RegionBandPtr; typedef boost::shared_ptr< RegionBand > RegionBandPtr;
typedef boost::shared_ptr< PolyPolygon > PolyPolygonPtr; typedef boost::shared_ptr< PolyPolygon > PolyPolygonPtr;
typedef boost::shared_ptr< basegfx::B2DPolyPolygon > B2DPolyPolygonPtr; typedef boost::shared_ptr< basegfx::B2DPolyPolygon > B2DPolyPolygonPtr;
typedef std::vector< Rectangle > RectangleVector; typedef std::vector< Rectangle > RectangleVector;
//////////////////////////////////////////////////////////////////////////////
class VCL_DLLPUBLIC Region class VCL_DLLPUBLIC Region
{ {
private: private:
......
...@@ -20,21 +20,12 @@ ...@@ -20,21 +20,12 @@
#ifndef INCLUDED_VCL_SALGTYPE_HXX #ifndef INCLUDED_VCL_SALGTYPE_HXX
#define INCLUDED_VCL_SALGTYPE_HXX #define INCLUDED_VCL_SALGTYPE_HXX
#include <tools/solar.h>
// ------------
// - SalColor -
// ------------
typedef sal_uInt32 SalColor; typedef sal_uInt32 SalColor;
#define MAKE_SALCOLOR( r, g, b ) ((SalColor)(((sal_uInt32)((sal_uInt8)(b))))|(((sal_uInt32)((sal_uInt8)(g)))<<8)|(((sal_uInt32)((sal_uInt8)(r)))<<16)) #define MAKE_SALCOLOR( r, g, b ) ((SalColor)(((sal_uInt32)((sal_uInt8)(b))))|(((sal_uInt32)((sal_uInt8)(g)))<<8)|(((sal_uInt32)((sal_uInt8)(r)))<<16))
#define SALCOLOR_RED( n ) ((sal_uInt8)((n)>>16)) #define SALCOLOR_RED( n ) ((sal_uInt8)((n)>>16))
#define SALCOLOR_GREEN( n ) ((sal_uInt8)(((sal_uInt16)(n)) >> 8)) #define SALCOLOR_GREEN( n ) ((sal_uInt8)(((sal_uInt16)(n)) >> 8))
#define SALCOLOR_BLUE( n ) ((sal_uInt8)(n)) #define SALCOLOR_BLUE( n ) ((sal_uInt8)(n))
#define SALCOLOR_NONE (~(SalColor)0) #define SALCOLOR_NONE (~(SalColor)0)
// ------------
// - SalPoint -
// ------------
// must equal to class Point // must equal to class Point
struct SalPoint struct SalPoint
...@@ -45,10 +36,6 @@ struct SalPoint ...@@ -45,10 +36,6 @@ struct SalPoint
typedef const SalPoint* PCONSTSALPOINT; typedef const SalPoint* PCONSTSALPOINT;
// --------------
// - SalTwoRect -
// --------------
struct SalTwoRect struct SalTwoRect
{ {
long mnSrcX; long mnSrcX;
...@@ -61,19 +48,11 @@ struct SalTwoRect ...@@ -61,19 +48,11 @@ struct SalTwoRect
long mnDestHeight; long mnDestHeight;
}; };
// ---------------
// - SalROPColor -
// ---------------
typedef sal_uInt16 SalROPColor; typedef sal_uInt16 SalROPColor;
#define SAL_ROP_0 ((SalROPColor)0) #define SAL_ROP_0 ((SalROPColor)0)
#define SAL_ROP_1 ((SalROPColor)1) #define SAL_ROP_1 ((SalROPColor)1)
#define SAL_ROP_INVERT ((SalROPColor)2) #define SAL_ROP_INVERT ((SalROPColor)2)
// -------------
// - SalInvert -
// -------------
typedef sal_uInt16 SalInvert; typedef sal_uInt16 SalInvert;
#define SAL_INVERT_HIGHLIGHT ((SalInvert)0x0001) #define SAL_INVERT_HIGHLIGHT ((SalInvert)0x0001)
#define SAL_INVERT_50 ((SalInvert)0x0002) #define SAL_INVERT_50 ((SalInvert)0x0002)
......
...@@ -20,16 +20,11 @@ ...@@ -20,16 +20,11 @@
#ifndef INCLUDED_VCL_SLIDER_HXX #ifndef INCLUDED_VCL_SLIDER_HXX
#define INCLUDED_VCL_SLIDER_HXX #define INCLUDED_VCL_SLIDER_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/ctrl.hxx> #include <vcl/ctrl.hxx>
// for enum ScrollType // for enum ScrollType
#include <vcl/scrbar.hxx> #include <vcl/scrbar.hxx>
// ----------
// - Slider -
// ----------
class VCL_DLLPUBLIC Slider : public Control class VCL_DLLPUBLIC Slider : public Control
{ {
private: private:
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#ifndef INCLUDED_VCL_SPIN_H #ifndef INCLUDED_VCL_SPIN_H
#define INCLUDED_VCL_SPIN_H #define INCLUDED_VCL_SPIN_H
#include <tools/solar.h>
class Rectangle; class Rectangle;
class OutputDevice; class OutputDevice;
......
...@@ -20,16 +20,11 @@ ...@@ -20,16 +20,11 @@
#ifndef INCLUDED_VCL_SPLIT_HXX #ifndef INCLUDED_VCL_SPLIT_HXX
#define INCLUDED_VCL_SPLIT_HXX #define INCLUDED_VCL_SPLIT_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/window.hxx> #include <vcl/window.hxx>
#define SPLITTER_DEFAULTSTEPSIZE 0xFFFF #define SPLITTER_DEFAULTSTEPSIZE 0xFFFF
// ------------
// - Splitter -
// ------------
class VCL_DLLPUBLIC Splitter : public Window class VCL_DLLPUBLIC Splitter : public Window
{ {
private: private:
......
...@@ -20,40 +20,23 @@ ...@@ -20,40 +20,23 @@
#ifndef INCLUDED_VCL_SPLITWIN_HXX #ifndef INCLUDED_VCL_SPLITWIN_HXX
#define INCLUDED_VCL_SPLITWIN_HXX #define INCLUDED_VCL_SPLITWIN_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/dockwin.hxx> #include <vcl/dockwin.hxx>
class Wallpaper; class Wallpaper;
struct ImplSplitSet; struct ImplSplitSet;
// -----------------------
// - SplitWindowItemBits -
// -----------------------
typedef sal_uInt16 SplitWindowItemBits; typedef sal_uInt16 SplitWindowItemBits;
// -------------------------------
// - Bits fuer SplitWindow-Items -
// -------------------------------
#define SWIB_FIXED ((SplitWindowItemBits)0x0001) #define SWIB_FIXED ((SplitWindowItemBits)0x0001)
#define SWIB_RELATIVESIZE ((SplitWindowItemBits)0x0002) #define SWIB_RELATIVESIZE ((SplitWindowItemBits)0x0002)
#define SWIB_PERCENTSIZE ((SplitWindowItemBits)0x0004) #define SWIB_PERCENTSIZE ((SplitWindowItemBits)0x0004)
#define SWIB_COLSET ((SplitWindowItemBits)0x0008) #define SWIB_COLSET ((SplitWindowItemBits)0x0008)
#define SWIB_INVISIBLE ((SplitWindowItemBits)0x0010) #define SWIB_INVISIBLE ((SplitWindowItemBits)0x0010)
// ---------------------
// - SplitWindow-Types -
// ---------------------
#define SPLITWINDOW_APPEND ((sal_uInt16)0xFFFF) #define SPLITWINDOW_APPEND ((sal_uInt16)0xFFFF)
#define SPLITWINDOW_ITEM_NOTFOUND ((sal_uInt16)0xFFFF) #define SPLITWINDOW_ITEM_NOTFOUND ((sal_uInt16)0xFFFF)
// ---------------
// - SplitWindow -
// ---------------
class VCL_DLLPUBLIC SplitWindow : public DockingWindow class VCL_DLLPUBLIC SplitWindow : public DockingWindow
{ {
private: private:
......
...@@ -21,25 +21,16 @@ ...@@ -21,25 +21,16 @@
#define INCLUDED_VCL_STDTEXT_HXX #define INCLUDED_VCL_STDTEXT_HXX
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
class Window; class Window;
// ------------------
// - Standard-Texte -
// ------------------
#define STANDARD_TEXT_FIRST STANDARD_TEXT_SERVICE_NOT_AVAILABLE #define STANDARD_TEXT_FIRST STANDARD_TEXT_SERVICE_NOT_AVAILABLE
#define STANDARD_TEXT_SERVICE_NOT_AVAILABLE ((sal_uInt16)0) #define STANDARD_TEXT_SERVICE_NOT_AVAILABLE ((sal_uInt16)0)
#define STANDARD_TEXT_LAST STANDARD_TEXT_SERVICE_NOT_AVAILABLE #define STANDARD_TEXT_LAST STANDARD_TEXT_SERVICE_NOT_AVAILABLE
OUString VCL_DLLPUBLIC GetStandardText(sal_uInt16 nStdText); OUString VCL_DLLPUBLIC GetStandardText(sal_uInt16 nStdText);
// -------------------------------------
// - Hilfsmethoden fuer Standard-Texte -
// -------------------------------------
void VCL_DLLPUBLIC ShowServiceNotAvailableError(Window* pParent, const OUString& rServiceName, bool bError); void VCL_DLLPUBLIC ShowServiceNotAvailableError(Window* pParent, const OUString& rServiceName, bool bError);
#endif // INCLUDED_VCL_STDTEXT_HXX #endif // INCLUDED_VCL_STDTEXT_HXX
......
...@@ -20,17 +20,12 @@ ...@@ -20,17 +20,12 @@
#ifndef INCLUDED_VCL_SYSCHILD_HXX #ifndef INCLUDED_VCL_SYSCHILD_HXX
#define INCLUDED_VCL_SYSCHILD_HXX #define INCLUDED_VCL_SYSCHILD_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/window.hxx> #include <vcl/window.hxx>
struct SystemEnvData; struct SystemEnvData;
struct SystemWindowData; struct SystemWindowData;
// ---------------------
// - SystemChildWindow -
// ---------------------
class VCL_DLLPUBLIC SystemChildWindow : public Window class VCL_DLLPUBLIC SystemChildWindow : public Window
{ {
private: private:
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef INCLUDED_VCL_TABCTRL_HXX #ifndef INCLUDED_VCL_TABCTRL_HXX
#define INCLUDED_VCL_TABCTRL_HXX #define INCLUDED_VCL_TABCTRL_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/ctrl.hxx> #include <vcl/ctrl.hxx>
...@@ -30,19 +29,11 @@ class TabPage; ...@@ -30,19 +29,11 @@ class TabPage;
class PushButton; class PushButton;
class ListBox; class ListBox;
// --------------------
// - TabControl-Types -
// --------------------
#ifndef TAB_APPEND #ifndef TAB_APPEND
#define TAB_APPEND ((sal_uInt16)0xFFFF) #define TAB_APPEND ((sal_uInt16)0xFFFF)
#define TAB_PAGE_NOTFOUND ((sal_uInt16)0xFFFF) #define TAB_PAGE_NOTFOUND ((sal_uInt16)0xFFFF)
#endif /* !TAB_APPEND */ #endif /* !TAB_APPEND */
// --------------
// - TabControl -
// --------------
class VCL_DLLPUBLIC TabControl : public Control class VCL_DLLPUBLIC TabControl : public Control
{ {
private: private:
......
...@@ -20,17 +20,12 @@ ...@@ -20,17 +20,12 @@
#ifndef INCLUDED_VCL_TABDLG_HXX #ifndef INCLUDED_VCL_TABDLG_HXX
#define INCLUDED_VCL_TABDLG_HXX #define INCLUDED_VCL_TABDLG_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/dialog.hxx> #include <vcl/dialog.hxx>
class FixedLine; class FixedLine;
class TabControl; class TabControl;
// ----------------------
// - TabDialog -
// ----------------------
class VCL_DLLPUBLIC TabDialog : public Dialog class VCL_DLLPUBLIC TabDialog : public Dialog
{ {
private: private:
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef INCLUDED_VCL_TOOLBOX_HXX #ifndef INCLUDED_VCL_TOOLBOX_HXX
#define INCLUDED_VCL_TOOLBOX_HXX #define INCLUDED_VCL_TOOLBOX_HXX
#include <tools/solar.h> #include <com/sun/star/frame/XFrame.hpp>
#include <rsc/rsc-vcl-shared-types.hxx> #include <rsc/rsc-vcl-shared-types.hxx>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/dockwin.hxx> #include <vcl/dockwin.hxx>
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#include <vcl/timer.hxx> #include <vcl/timer.hxx>
#include <vector> #include <vector>
#include <com/sun/star/frame/XFrame.hpp>
class UserDrawEvent; class UserDrawEvent;
struct ImplToolItem; struct ImplToolItem;
...@@ -43,10 +41,6 @@ namespace vcl ...@@ -43,10 +41,6 @@ namespace vcl
class IImageListProvider; class IImageListProvider;
} }
// -------------------------
// - ToolBoxCustomizeEvent -
// -------------------------
#define TOOLBOX_CUSTOMIZE_RESIZE ((sal_uInt16)0xFFFE) #define TOOLBOX_CUSTOMIZE_RESIZE ((sal_uInt16)0xFFFE)
class VCL_DLLPUBLIC ToolBoxCustomizeEvent class VCL_DLLPUBLIC ToolBoxCustomizeEvent
...@@ -96,10 +90,6 @@ inline sal_Bool ToolBoxCustomizeEvent::IsResized() const ...@@ -96,10 +90,6 @@ inline sal_Bool ToolBoxCustomizeEvent::IsResized() const
return sal_False; return sal_False;
} }
// -----------------
// - ToolBox-Types -
// -----------------
#define TOOLBOX_STYLE_FLAT ((sal_uInt16)0x0004) #define TOOLBOX_STYLE_FLAT ((sal_uInt16)0x0004)
#define TOOLBOX_APPEND ((sal_uInt16)0xFFFF) #define TOOLBOX_APPEND ((sal_uInt16)0xFFFF)
...@@ -130,10 +120,6 @@ struct ImplToolSize ...@@ -130,10 +120,6 @@ struct ImplToolSize
sal_uInt16 mnLines; sal_uInt16 mnLines;
}; };
// -----------
// - ToolBox -
// -----------
class VCL_DLLPUBLIC ToolBox : public DockingWindow class VCL_DLLPUBLIC ToolBox : public DockingWindow
{ {
friend class FloatingWindow; friend class FloatingWindow;
......
...@@ -20,9 +20,8 @@ ...@@ -20,9 +20,8 @@
#ifndef INCLUDED_VCL_UNOWRAP_HXX #ifndef INCLUDED_VCL_UNOWRAP_HXX
#define INCLUDED_VCL_UNOWRAP_HXX #define INCLUDED_VCL_UNOWRAP_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Reference.h>
#include <vcl/dllapi.h>
class XWindowPeer; class XWindowPeer;
class XToolkit; class XToolkit;
......
...@@ -20,27 +20,20 @@ ...@@ -20,27 +20,20 @@
#ifndef INCLUDED_VCL_VCLENUM_HXX #ifndef INCLUDED_VCL_VCLENUM_HXX
#define INCLUDED_VCL_VCLENUM_HXX #define INCLUDED_VCL_VCLENUM_HXX
#include <rsc/rsc-vcl-shared-types.hxx>
#include <sal/types.h> #include <sal/types.h>
#include <tools/solar.h>
#include <tools/fontenum.hxx> #include <tools/fontenum.hxx>
#include <rsc/rsc-vcl-shared-types.hxx>
// ------------------------------------------------------------
enum ExtTimeFieldFormat { EXTTIMEF_24H_SHORT, EXTTIMEF_24H_LONG, enum ExtTimeFieldFormat { EXTTIMEF_24H_SHORT, EXTTIMEF_24H_LONG,
EXTTIMEF_12H_SHORT, EXTTIMEF_12H_LONG, EXTTIMEF_12H_SHORT, EXTTIMEF_12H_LONG,
EXTTIMEF_DURATION_SHORT, EXTTIMEF_DURATION_LONG }; EXTTIMEF_DURATION_SHORT, EXTTIMEF_DURATION_LONG };
// ------------------------------------------------------------
enum ExtDateFieldFormat { XTDATEF_SYSTEM_SHORT, XTDATEF_SYSTEM_SHORT_YY, XTDATEF_SYSTEM_SHORT_YYYY, enum ExtDateFieldFormat { XTDATEF_SYSTEM_SHORT, XTDATEF_SYSTEM_SHORT_YY, XTDATEF_SYSTEM_SHORT_YYYY,
XTDATEF_SYSTEM_LONG, XTDATEF_SYSTEM_LONG,
XTDATEF_SHORT_DDMMYY, XTDATEF_SHORT_MMDDYY, XTDATEF_SHORT_YYMMDD, XTDATEF_SHORT_DDMMYY, XTDATEF_SHORT_MMDDYY, XTDATEF_SHORT_YYMMDD,
XTDATEF_SHORT_DDMMYYYY, XTDATEF_SHORT_MMDDYYYY, XTDATEF_SHORT_YYYYMMDD, XTDATEF_SHORT_DDMMYYYY, XTDATEF_SHORT_MMDDYYYY, XTDATEF_SHORT_YYYYMMDD,
XTDATEF_SHORT_YYMMDD_DIN5008, XTDATEF_SHORT_YYYYMMDD_DIN5008, ExtDateFieldFormat_FORCE_EQUAL_SIZE=SAL_MAX_ENUM }; XTDATEF_SHORT_YYMMDD_DIN5008, XTDATEF_SHORT_YYYYMMDD_DIN5008, ExtDateFieldFormat_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
// ------------------------------------------------------------
enum GradientStyle enum GradientStyle
{ {
GradientStyle_LINEAR = 0, GradientStyle_LINEAR = 0,
...@@ -52,8 +45,6 @@ enum GradientStyle ...@@ -52,8 +45,6 @@ enum GradientStyle
GradientStyle_FORCE_EQUAL_SIZE = SAL_MAX_ENUM GradientStyle_FORCE_EQUAL_SIZE = SAL_MAX_ENUM
}; };
// ------------------------------------------------------------
// to avoid conflicts with enum's declared otherwise // to avoid conflicts with enum's declared otherwise
#define HATCH_SINGLE HatchStyle_SINGLE #define HATCH_SINGLE HatchStyle_SINGLE
#define HATCH_DOUBLE HatchStyle_DOUBLE #define HATCH_DOUBLE HatchStyle_DOUBLE
...@@ -68,8 +59,6 @@ enum HatchStyle ...@@ -68,8 +59,6 @@ enum HatchStyle
HatchStyle_FORCE_EQUAL_SIZE = SAL_MAX_ENUM HatchStyle_FORCE_EQUAL_SIZE = SAL_MAX_ENUM
}; };
// ------------------------------------------------------------
// to avoid conflicts with enum's declared otherwise // to avoid conflicts with enum's declared otherwise
#define LINE_NONE LineStyle_NONE #define LINE_NONE LineStyle_NONE
#define LINE_SOLID LineStyle_SOLID #define LINE_SOLID LineStyle_SOLID
...@@ -84,20 +73,14 @@ enum LineStyle ...@@ -84,20 +73,14 @@ enum LineStyle
LineStyle_FORCE_EQUAL_SIZE = SAL_MAX_ENUM LineStyle_FORCE_EQUAL_SIZE = SAL_MAX_ENUM
}; };
// ------------------------------------------------------------
enum RasterOp { ROP_OVERPAINT, ROP_XOR, ROP_0, ROP_1, ROP_INVERT }; enum RasterOp { ROP_OVERPAINT, ROP_XOR, ROP_0, ROP_1, ROP_INVERT };
// ------------------------------------------------------------
enum FontAutoHint { AUTOHINT_DONTKNOW, AUTOHINT_FALSE, AUTOHINT_TRUE }; enum FontAutoHint { AUTOHINT_DONTKNOW, AUTOHINT_FALSE, AUTOHINT_TRUE };
enum FontHinting { HINTING_DONTKNOW, HINTING_FALSE, HINTING_TRUE }; enum FontHinting { HINTING_DONTKNOW, HINTING_FALSE, HINTING_TRUE };
enum FontHintStyle { HINT_NONE, HINT_SLIGHT, HINT_MEDIUM, HINT_FULL }; enum FontHintStyle { HINT_NONE, HINT_SLIGHT, HINT_MEDIUM, HINT_FULL };
// ------------------------------------------------------------
typedef sal_uInt32 sal_UCS4; // TODO: this should be moved to rtl typedef sal_uInt32 sal_UCS4; // TODO: this should be moved to rtl
enum OutDevSupportType { OutDevSupport_TransparentRect, OutDevSupport_B2DClip, OutDevSupport_B2DDraw }; enum OutDevSupportType { OutDevSupport_TransparentRect, OutDevSupport_B2DClip, OutDevSupport_B2DDraw };
......
...@@ -20,14 +20,9 @@ ...@@ -20,14 +20,9 @@
#ifndef INCLUDED_VCL_VIRDEV_HXX #ifndef INCLUDED_VCL_VIRDEV_HXX
#define INCLUDED_VCL_VIRDEV_HXX #define INCLUDED_VCL_VIRDEV_HXX
#include <tools/solar.h> #include <basebmp/bitmapdevice.hxx>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/outdev.hxx> #include <vcl/outdev.hxx>
#include <basebmp/bitmapdevice.hxx>
// -----------------
// - VirtualDevice -
// -----------------
class SalVirtualDevice; class SalVirtualDevice;
struct SystemGraphicsData; struct SystemGraphicsData;
......
...@@ -20,14 +20,9 @@ ...@@ -20,14 +20,9 @@
#ifndef INCLUDED_VCL_WAITOBJ_HXX #ifndef INCLUDED_VCL_WAITOBJ_HXX
#define INCLUDED_VCL_WAITOBJ_HXX #define INCLUDED_VCL_WAITOBJ_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <vcl/window.hxx> #include <vcl/window.hxx>
// --------------
// - WaitObject -
// --------------
class VCL_DLLPUBLIC WaitObject class VCL_DLLPUBLIC WaitObject
{ {
private: private:
......
...@@ -20,19 +20,14 @@ ...@@ -20,19 +20,14 @@
#ifndef INCLUDED_VCL_WALL_HXX #ifndef INCLUDED_VCL_WALL_HXX
#define INCLUDED_VCL_WALL_HXX #define INCLUDED_VCL_WALL_HXX
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <tools/color.hxx> #include <tools/color.hxx>
#include <tools/gen.hxx> #include <tools/gen.hxx>
#include <vcl/dllapi.h>
class Gradient; class Gradient;
class BitmapEx; class BitmapEx;
class ImplWallpaper; class ImplWallpaper;
// -------------------
// - Wallpaper-Types -
// -------------------
#define WALLPAPER_NULL WallpaperStyle_NULL #define WALLPAPER_NULL WallpaperStyle_NULL
#define WALLPAPER_TILE WallpaperStyle_TILE #define WALLPAPER_TILE WallpaperStyle_TILE
#define WALLPAPER_CENTER WallpaperStyle_CENTER #define WALLPAPER_CENTER WallpaperStyle_CENTER
...@@ -72,10 +67,6 @@ enum WallpaperStyle ...@@ -72,10 +67,6 @@ enum WallpaperStyle
#endif #endif
// -------------
// - Wallpaper -
// -------------
class VCL_DLLPUBLIC Wallpaper class VCL_DLLPUBLIC Wallpaper
{ {
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment