LibreOffice Module slideshow (master) 1
Public Member Functions | List of all members
slideshow::internal::ViewUpdate Class Referenceabstract

Interface for something that can perform view updates. More...

#include <viewupdate.hxx>

Inheritance diagram for slideshow::internal::ViewUpdate:
[legend]
Collaboration diagram for slideshow::internal::ViewUpdate:
[legend]

Public Member Functions

virtual bool update ()=0
 Perform the update action on all views. More...
 
virtual bool needsUpdate () const =0
 Query whether updates are pending. More...
 
- Public Member Functions inherited from slideshow::internal::Disposable
virtual ~Disposable ()
 
virtual void dispose ()=0
 Dispose all object references. More...
 

Detailed Description

Interface for something that can perform view updates.

Use this interface for objects that perform view updates from time to time, e.g. slide content. Availability of updates can be queried, and subsequently performed.

Definition at line 36 of file viewupdate.hxx.

Member Function Documentation

◆ needsUpdate()

virtual bool slideshow::internal::ViewUpdate::needsUpdate ( ) const
pure virtual

Query whether updates are pending.

Returns
true, if updates are pending. Calling update() subsequently will perform the pending update then.

Implemented in slideshow::internal::ShapeManagerImpl.

Referenced by slideshow::internal::ScreenUpdater::commitUpdates().

◆ update()

virtual bool slideshow::internal::ViewUpdate::update ( )
pure virtual

Perform the update action on all views.

Returns
true, if the update was performed successfully, false otherwise.

Implemented in slideshow::internal::ShapeManagerImpl.

Referenced by slideshow::internal::ScreenUpdater::commitUpdates().


The documentation for this class was generated from the following file: