diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-11-05 23:12:55 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-11-05 23:15:47 +0100 |
commit | d59b9b4af36148e4d8df8f3e3492116d378642e2 (patch) | |
tree | e9ce25544fae1f962da815cad8c96be8d541249a /sfx2/source/sidebar/SidebarController.hxx | |
parent | ff1aae469f6521b67e51c9e77415ba847eed69e8 (diff) |
fdo#67627 fdo#85791 Allow to show/hide sidebar decks with the same command
This also reintroduces the code to switch the decks asynchronously (removed unintentionally before)
Change-Id: I825b4d7c5777097e9d3b3d82adbe1f646510dc9d
Diffstat (limited to 'sfx2/source/sidebar/SidebarController.hxx')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/SidebarController.hxx b/sfx2/source/sidebar/SidebarController.hxx index 33cfea65e15a..46511a553122 100644 --- a/sfx2/source/sidebar/SidebarController.hxx +++ b/sfx2/source/sidebar/SidebarController.hxx @@ -122,6 +122,9 @@ public: const static sal_Int32 SwitchFlag_ForceNewDeck = 0x02; const static sal_Int32 SwitchFlag_ForceNewPanels = 0x02; + + void RequestSwitchToDeck ( + const ::rtl::OUString& rsDeckId); void OpenThenSwitchToDeck ( const ::rtl::OUString& rsDeckId); @@ -133,6 +136,10 @@ public: */ void RequestOpenDeck (void); + /** Returns true when the given deck is the currently visible deck + */ + bool IsDeckVisible (const ::rtl::OUString& rsDeckId); + FocusManager& GetFocusManager (void) { return maFocusManager;} private: |