summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-22 16:35:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-22 20:26:08 +0100
commitc02696d7f9e4f56954e1c37452949762872f1f8e (patch)
tree4747644c1604bda5ab8a00830a8adb4358868f38 /include
parent216d7c42a8ccc5fa1379e84cb6b32d21857f774d (diff)
forward declare some things and avoid includes
Change-Id: I8bf6e23904c932de646aa84fffab1b5549dbdf31 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111349 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/menu.hxx4
-rw-r--r--include/vcl/toolkit/edit.hxx2
-rw-r--r--include/vcl/toolkit/treelistbox.hxx1
3 files changed, 4 insertions, 3 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index 01bf9bc1f80b..55b4ca10ed71 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -28,8 +28,8 @@
#include <tools/long.hxx>
#include <vcl/dllapi.h>
#include <vcl/keycod.hxx>
+#include <vcl/vclptr.hxx>
#include <vcl/vclreferencebase.hxx>
-#include <vcl/vclevent.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <list>
@@ -49,8 +49,10 @@ class CommandEvent;
class MenuFloatingWindow;
class SalMenu;
class MenuBarWindow;
+class VclMenuEvent;
struct SystemMenuData;
enum class FloatWinPopupFlags;
+enum class VclEventId;
namespace com::sun::star::awt { class XPopupMenu; }
namespace com::sun::star::accessibility { class XAccessible; }
diff --git a/include/vcl/toolkit/edit.hxx b/include/vcl/toolkit/edit.hxx
index 6cad804c208e..b622c4bc2e65 100644
--- a/include/vcl/toolkit/edit.hxx
+++ b/include/vcl/toolkit/edit.hxx
@@ -31,7 +31,6 @@
#include <rtl/ustrbuf.hxx>
#include <o3tl/deleter.hxx>
#include <vcl/dllapi.h>
-#include <vcl/menu.hxx>
#include <vcl/dndhelp.hxx>
#include <vcl/vclptr.hxx>
#include <com/sun/star/uno/Reference.h>
@@ -44,6 +43,7 @@ namespace weld {
class Widget;
}
+class PopupMenu;
class VclBuilder;
struct DDInfo;
struct Impl_IMEInfos;
diff --git a/include/vcl/toolkit/treelistbox.hxx b/include/vcl/toolkit/treelistbox.hxx
index 895c6c15d860..3cd50dddee65 100644
--- a/include/vcl/toolkit/treelistbox.hxx
+++ b/include/vcl/toolkit/treelistbox.hxx
@@ -36,7 +36,6 @@
#include <tools/contnr.hxx>
#include <vcl/toolkit/treelist.hxx>
#include <vcl/transfer.hxx>
-#include <vcl/menu.hxx>
#include <o3tl/typed_flags_set.hxx>
class SvTreeListBox;