summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/vcl/helper.hxx3
-rw-r--r--include/vcl/menu.hxx11
2 files changed, 14 insertions, 0 deletions
diff --git a/include/vcl/helper.hxx b/include/vcl/helper.hxx
index cc368dd4b0da..49c4197958a2 100644
--- a/include/vcl/helper.hxx
+++ b/include/vcl/helper.hxx
@@ -23,6 +23,7 @@
#include <list>
#include <vcl/dllapi.h>
+#include <vcl/vclevent.hxx>
#include <rtl/ustring.hxx>
@@ -54,6 +55,8 @@ enum whichOfficePath { InstallationRootPath, UserPath, ConfigPath };
OUString VCL_DLLPUBLIC getOfficePath( enum whichOfficePath ePath );
} // namespace
+
+bool VCL_DLLPUBLIC GetMenuInvalidateListeners();
#endif // INCLUDED_VCL_HELPER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index 9f31b20421cf..ac3c84ba0761 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -359,6 +359,17 @@ public:
};
+namespace vcl
+{
+ class VCL_DLLPUBLIC MenuInvalidator
+ {
+ public:
+ MenuInvalidator();
+ VclEventListeners2* GetMenuInvalidateListeners();
+ void Invalidated();
+ };
+}
+
// - MenuBar -