diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-04 10:04:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-04 16:44:54 +0100 |
commit | 57aa9ea3a6d178fcea016fadb005dfbcc2ca2e8d (patch) | |
tree | 6407cb0a354b9a14731a4ab3a9c8eb80ec7a7a01 /include | |
parent | f7f47654787c8fd1764a8d827bb6a84b17fe3882 (diff) |
readme not a sufficient indicator
Change-Id: Idd5cd004b873280e202b16c182356977045bdab4
Reviewed-on: https://gerrit.libreoffice.org/81993
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/toolkit/group.hxx | 5 | ||||
-rw-r--r-- | include/vcl/toolkit/imgctrl.hxx | 6 | ||||
-rw-r--r-- | include/vcl/toolkit/morebtn.hxx | 4 | ||||
-rw-r--r-- | include/vcl/toolkit/roadmap.hxx | 4 | ||||
-rw-r--r-- | include/vcl/toolkit/spin.hxx | 5 | ||||
-rw-r--r-- | include/vcl/toolkit/tabdlg.hxx | 4 | ||||
-rw-r--r-- | include/vcl/toolkit/throbber.hxx | 4 | ||||
-rw-r--r-- | include/vcl/toolkit/unowrap.hxx | 4 |
8 files changed, 32 insertions, 4 deletions
diff --git a/include/vcl/toolkit/group.hxx b/include/vcl/toolkit/group.hxx index 5a71c2527b2e..0ab20b2d2b36 100644 --- a/include/vcl/toolkit/group.hxx +++ b/include/vcl/toolkit/group.hxx @@ -20,10 +20,13 @@ #ifndef INCLUDED_VCL_GROUP_HXX #define INCLUDED_VCL_GROUP_HXX +#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) +#error "don't use this in new code" +#endif + #include <vcl/dllapi.h> #include <vcl/ctrl.hxx> - class VCL_DLLPUBLIC GroupBox : public Control { private: diff --git a/include/vcl/toolkit/imgctrl.hxx b/include/vcl/toolkit/imgctrl.hxx index a38829776236..e2f8ae972ce2 100644 --- a/include/vcl/toolkit/imgctrl.hxx +++ b/include/vcl/toolkit/imgctrl.hxx @@ -20,11 +20,13 @@ #ifndef INCLUDED_VCL_IMGCTRL_HXX #define INCLUDED_VCL_IMGCTRL_HXX -#include <vcl/dllapi.h> +#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) +#error "don't use this in new code" +#endif +#include <vcl/dllapi.h> #include <vcl/fixed.hxx> - class VCL_DLLPUBLIC ImageControl : public FixedImage { private: diff --git a/include/vcl/toolkit/morebtn.hxx b/include/vcl/toolkit/morebtn.hxx index dccbb4a9e08c..5ed592690359 100644 --- a/include/vcl/toolkit/morebtn.hxx +++ b/include/vcl/toolkit/morebtn.hxx @@ -20,6 +20,10 @@ #ifndef INCLUDED_VCL_MOREBTN_HXX #define INCLUDED_VCL_MOREBTN_HXX +#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) +#error "don't use this in new code" +#endif + #include <vcl/dllapi.h> #include <vcl/button.hxx> #include <memory> diff --git a/include/vcl/toolkit/roadmap.hxx b/include/vcl/toolkit/roadmap.hxx index 3ec6f7574a2c..98ed542f0f51 100644 --- a/include/vcl/toolkit/roadmap.hxx +++ b/include/vcl/toolkit/roadmap.hxx @@ -19,6 +19,10 @@ #ifndef INCLUDED_VCL_INC_ROADMAP_HXX #define INCLUDED_VCL_INC_ROADMAP_HXX +#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) +#error "don't use this in new code" +#endif + #include <vcl/dllapi.h> #include <vcl/ctrl.hxx> #include <vcl/toolkit/imgctrl.hxx> diff --git a/include/vcl/toolkit/spin.hxx b/include/vcl/toolkit/spin.hxx index fa37bff5f504..0483aef2e980 100644 --- a/include/vcl/toolkit/spin.hxx +++ b/include/vcl/toolkit/spin.hxx @@ -20,11 +20,14 @@ #ifndef INCLUDED_VCL_SPIN_HXX #define INCLUDED_VCL_SPIN_HXX +#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) +#error "don't use this in new code" +#endif + #include <vcl/dllapi.h> #include <vcl/ctrl.hxx> #include <vcl/timer.hxx> - class VCL_DLLPUBLIC SpinButton : public Control { private: diff --git a/include/vcl/toolkit/tabdlg.hxx b/include/vcl/toolkit/tabdlg.hxx index 18319a992072..30613c926617 100644 --- a/include/vcl/toolkit/tabdlg.hxx +++ b/include/vcl/toolkit/tabdlg.hxx @@ -20,6 +20,10 @@ #ifndef INCLUDED_VCL_TABDLG_HXX #define INCLUDED_VCL_TABDLG_HXX +#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) +#error "don't use this in new code" +#endif + #include <vcl/dllapi.h> #include <vcl/dialog.hxx> diff --git a/include/vcl/toolkit/throbber.hxx b/include/vcl/toolkit/throbber.hxx index 4739bd7aa8c3..740e7e19a029 100644 --- a/include/vcl/toolkit/throbber.hxx +++ b/include/vcl/toolkit/throbber.hxx @@ -20,6 +20,10 @@ #ifndef INCLUDED_VCL_THROBBER_HXX #define INCLUDED_VCL_THROBBER_HXX +#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) +#error "don't use this in new code" +#endif + #include <vcl/dllapi.h> #include <vcl/toolkit/imgctrl.hxx> #include <vcl/timer.hxx> diff --git a/include/vcl/toolkit/unowrap.hxx b/include/vcl/toolkit/unowrap.hxx index 29c7f3ea794e..d23155b88d64 100644 --- a/include/vcl/toolkit/unowrap.hxx +++ b/include/vcl/toolkit/unowrap.hxx @@ -20,6 +20,10 @@ #ifndef INCLUDED_VCL_UNOWRAP_HXX #define INCLUDED_VCL_UNOWRAP_HXX +#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) +#error "don't use this in new code" +#endif + #include <com/sun/star/uno/Reference.h> #include <vcl/dllapi.h> #include <vcl/vclptr.hxx> |