summaryrefslogtreecommitdiff
path: root/include/sfx2/sidebar
diff options
context:
space:
mode:
authorShivam Kumar Singh <shivamhere247@gmail.com>2020-08-17 10:46:27 +0530
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2020-08-25 11:29:49 +0200
commiteef202b0659a8ef5f2c1d0b38f292039f0ceaa8d (patch)
tree93306d85b28dcb4777ac979eb1af7dbc03415503 /include/sfx2/sidebar
parentba9c11e0186844fffa02c594a5c49aad4a52242c (diff)
tdf#135334 Add keyboard shortcut to launch SI
Change-Id: Id4e911e36527395eb0ed5f29a089a66e0908e882 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100835 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'include/sfx2/sidebar')
-rw-r--r--include/sfx2/sidebar/Sidebar.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sfx2/sidebar/Sidebar.hxx b/include/sfx2/sidebar/Sidebar.hxx
index 2ac3b0e6a425..9bb250029a28 100644
--- a/include/sfx2/sidebar/Sidebar.hxx
+++ b/include/sfx2/sidebar/Sidebar.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_SFX2_SIDEBAR_SIDEBAR_HXX
#include <sfx2/dllapi.h>
+#include <sfx2/viewfrm.hxx>
#include <rtl/ustring.hxx>
namespace com::sun::star::frame { class XFrame; }
@@ -34,6 +35,8 @@ namespace sfx2::sidebar {
class SFX2_DLLPUBLIC Sidebar
{
public:
+ static void ToggleDeck(const OUString& rsDeckId, SfxViewFrame *pViewFrame);
+
/** Switch to the deck that contains the specified panel and make
sure that the panel is visible (expanded and scrolled into the
visible area.)