diff options
Diffstat (limited to 'include/sfx2/notebookbar/SfxNotebookBar.hxx')
-rw-r--r-- | include/sfx2/notebookbar/SfxNotebookBar.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/sfx2/notebookbar/SfxNotebookBar.hxx b/include/sfx2/notebookbar/SfxNotebookBar.hxx index d76b35e6a16b..d3387a2e5338 100644 --- a/include/sfx2/notebookbar/SfxNotebookBar.hxx +++ b/include/sfx2/notebookbar/SfxNotebookBar.hxx @@ -11,6 +11,8 @@ #define INCLUDED_SFX2_NOTEBOOKBAR_SFXNOTEBOOKBAR_HXX #include <sfx2/dllapi.h> +#include <com/sun/star/frame/XLayoutManager.hpp> +#include <vcl/notebookbar.hxx> class SfxBindings; @@ -22,6 +24,7 @@ class SFX2_DLLPUBLIC SfxNotebookBar { public: static void CloseMethod(SfxBindings& rBindings); + static void CloseMethod(SystemWindow* pSysWindow); /// Function to be called from the sdi's ExecMethod. static void ExecMethod(SfxBindings& rBindings); @@ -33,6 +36,15 @@ public: const OUString& rUIFile); static void RemoveListeners(SystemWindow* pSysWindow); + + static void ShowMenubar(bool bShow); + +private: + static bool m_bLock; + static css::uno::Reference<css::frame::XLayoutManager> m_xLayoutManager; + static css::uno::Reference<css::frame::XFrame> m_xFrame; + + DECL_STATIC_LINK_TYPED(SfxNotebookBar, ToggleMenubar, NotebookBar*, void); }; } // namespace sfx2 |