summaryrefslogtreecommitdiff
path: root/vcl/inc/WidgetThemeLibrary.hxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-11-01 23:04:12 -0400
committerJan Holesovsky <kendy@collabora.com>2018-11-09 18:42:34 +0100
commit25741af1d255128f27444daf3705afece685322d (patch)
treef8b340e475f130ed125abae67646efec0b2c56d3 /vcl/inc/WidgetThemeLibrary.hxx
parent7484f1691cbe9513dabf084effe8a0366b737a80 (diff)
LOK: custom themes: isolate LO internals headers from theme plugin
Change-Id: Ic189aecf092b9cffd800e410d2d6e88016c43052
Diffstat (limited to 'vcl/inc/WidgetThemeLibrary.hxx')
-rw-r--r--vcl/inc/WidgetThemeLibrary.hxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/vcl/inc/WidgetThemeLibrary.hxx b/vcl/inc/WidgetThemeLibrary.hxx
index 59692de60012..8f08669254c6 100644
--- a/vcl/inc/WidgetThemeLibrary.hxx
+++ b/vcl/inc/WidgetThemeLibrary.hxx
@@ -11,10 +11,11 @@
#ifndef INCLUDED_VCL_INC_WIDGETTHEME_HXX
#define INCLUDED_VCL_INC_WIDGETTHEME_HXX
-#include <cairo.h>
-#include <vcl/dllapi.h>
-#include <vcl/salnativewidgets.hxx>
-#include <tools/color.hxx>
+/**
+ * This file expects cairo.h and the definition of
+ * the other types used here to be defined before
+ * including it.
+ */
namespace vcl
{
@@ -52,9 +53,13 @@ struct ControlDrawParameters
ControlState eState;
ButtonValue eButtonValue;
bool bIsStock;
- sal_Int64 nValue;
+ int64_t nValue;
};
+#ifndef SAL_DLLPUBLIC_RTTI
+#define SAL_DLLPUBLIC_RTTI
+#endif
+
class SAL_DLLPUBLIC_RTTI WidgetThemeLibrary
{
public: