summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-05-17 11:51:41 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-05-20 11:33:37 +0100
commit54d820a7815af03a248c1aa424fae9bf9a4881f4 (patch)
tree39fbdc1950ed87d86c0cf936b26741927b591daf /include
parente9c2d5b26b1e1b52bdf87192a76314b7362fa80c (diff)
add experimental option for sidebar to 'Advanced' pane.
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/viewfrm.hxx3
-rw-r--r--include/svtools/miscopt.hxx3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx
index 522b4719eac0..c31681b2fd01 100644
--- a/include/sfx2/viewfrm.hxx
+++ b/include/sfx2/viewfrm.hxx
@@ -152,6 +152,9 @@ public:
static void ActivateToolPanel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rFrame, const OUString& i_rPanelURL );
+ /// is the new sidebar enabled for the app as a whole ?
+ static bool IsSidebarEnabled();
+
// interne Handler
SAL_DLLPRIVATE virtual sal_Bool SetBorderPixelImpl( const SfxViewShell *pSh, const SvBorder &rBorder );
SAL_DLLPRIVATE virtual const SvBorder& GetBorderPixelImpl( const SfxViewShell *pSh ) const;
diff --git a/include/svtools/miscopt.hxx b/include/svtools/miscopt.hxx
index 85c5b604e689..ca0b569b12ad 100644
--- a/include/svtools/miscopt.hxx
+++ b/include/svtools/miscopt.hxx
@@ -109,6 +109,9 @@ class SVT_DLLPUBLIC SvtMiscOptions: public utl::detail::Options
void SetExperimentalMode( sal_Bool bSet );
sal_Bool IsExperimentalMode() const;
+ void SetExperimentalSidebar( sal_Bool bSet );
+ sal_Bool IsExperimentalSidebar() const;
+
void SetMacroRecorderMode( sal_Bool bSet );
sal_Bool IsMacroRecorderMode() const;