diff options
Diffstat (limited to 'sdext/source/presenter/PresenterController.hxx')
-rw-r--r-- | sdext/source/presenter/PresenterController.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sdext/source/presenter/PresenterController.hxx b/sdext/source/presenter/PresenterController.hxx index f7a7023a5f3f..06548f0b213c 100644 --- a/sdext/source/presenter/PresenterController.hxx +++ b/sdext/source/presenter/PresenterController.hxx @@ -68,6 +68,14 @@ namespace { > PresenterControllerInterfaceBase; } +/// Represents an element in the toolbar that shows the time elapsed since the presentation started. +class IPresentationTime +{ +public: + virtual void restart() = 0; + virtual ~IPresentationTime(); +}; + /** The controller of the presenter screen is responsible for telling the individual views which slides to show. Additionally it provides access to frequently used values of the current theme. @@ -133,6 +141,9 @@ public: const bool bIsNotesViewActive, const bool bIsHelpViewActive); + void SetPresentationTime(IPresentationTime* pPresentationTime); + IPresentationTime* GetPresentationTime(); + // XConfigurationChangeListener virtual void SAL_CALL notifyConfigurationChange ( @@ -215,6 +226,7 @@ private: css::uno::Reference<css::util::XURLTransformer> mxUrlTransformer; ::rtl::Reference<PresenterAccessible> mpAccessibleObject; bool mbIsAccessibilityActive; + IPresentationTime* mpPresentationTime; void GetSlides (const sal_Int32 nOffset); void UpdateViews(); |