summaryrefslogtreecommitdiff
path: root/vcl/source/window/menuwindow.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/menuwindow.hxx')
-rw-r--r--vcl/source/window/menuwindow.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/menuwindow.hxx b/vcl/source/window/menuwindow.hxx
index 391bc08e3625..16d2b8870ea2 100644
--- a/vcl/source/window/menuwindow.hxx
+++ b/vcl/source/window/menuwindow.hxx
@@ -21,12 +21,12 @@
#define INCLUDED_VCL_SOURCE_WINDOW_MENUWINDOW_HXX
#include <sal/types.h>
+#include <tools/link.hxx>
#include <tools/solar.h>
#include <vcl/event.hxx>
class HelpEvent;
class Image;
-class Link;
class Menu;
class MenuBar;
class Rectangle;
@@ -84,8 +84,8 @@ public:
virtual void KillActivePopup() = 0;
/// Add an arbitrary button to the menubar that will appear next to the close button.
- virtual sal_uInt16 AddMenuBarButton(const Image&, const Link&, const OUString&, sal_uInt16 nPos) = 0;
- virtual void SetMenuBarButtonHighlightHdl(sal_uInt16 nId, const Link&) = 0;
+ virtual sal_uInt16 AddMenuBarButton(const Image&, const Link<>&, const OUString&, sal_uInt16 nPos) = 0;
+ virtual void SetMenuBarButtonHighlightHdl(sal_uInt16 nId, const Link<>&) = 0;
virtual Rectangle GetMenuBarButtonRectPixel(sal_uInt16 nId) = 0;
virtual void RemoveMenuBarButton(sal_uInt16 nId) = 0;
virtual bool HandleMenuButtonEvent(sal_uInt16 i_nButtonId) = 0;