34 using Ptr = std::shared_ptr<Viewable>;
73 using Ptr = std::shared_ptr<PresentationInterface>;
74 using WeakPtr = std::weak_ptr<PresentationInterface>;
146 using Ptr = std::shared_ptr<Aggregate>;
const uint8_t value
Definition blob-tests.cc:114
Definition presentationinterface.hh:144
std::shared_ptr< Aggregate > Ptr
Definition presentationinterface.hh:146
virtual void addPresentation(PresentationInterface::Ptr const &presentation)=0
Definition interface.hh:11
Definition presentationinterface.hh:130
Scroom::Utils::WeakKeySet< ViewInterface::WeakPtr > getViews() final
Definition presentationinterface.hh:137
Scroom::Utils::WeakKeySet< ViewInterface::WeakPtr > views
Definition presentationinterface.hh:132
void viewAdded(ViewInterface::WeakPtr vi) final
Definition presentationinterface.hh:135
void viewRemoved(ViewInterface::WeakPtr vi) final
Definition presentationinterface.hh:136
Definition presentationinterface.hh:113
virtual void viewRemoved(ViewInterface::WeakPtr vi)=0
virtual void viewAdded(ViewInterface::WeakPtr vi)=0
void close(ViewInterface::WeakPtr vi) override
Definition presentationinterface.cc:23
virtual Scroom::Utils::WeakKeySet< ViewInterface::WeakPtr > getViews()=0
void open(ViewInterface::WeakPtr vi) override
Definition presentationinterface.cc:11
void observerAdded(Viewable::Ptr const &viewable, Scroom::Bookkeeping::Token const &t) override
Definition presentationinterface.cc:35
Definition presentationinterface.hh:71
virtual Scroom::Utils::Rectangle< double > getRect()=0
virtual Scroom::Utils::Context::ConstPtr getContext() const =0
virtual void redraw(ViewInterface::Ptr const &vi, cairo_t *cr, Scroom::Utils::Rectangle< double > presentationArea, int zoom)=0
std::shared_ptr< PresentationInterface > Ptr
Definition presentationinterface.hh:73
virtual std::string getTitle()=0
std::weak_ptr< PresentationInterface > WeakPtr
Definition presentationinterface.hh:74
virtual bool getProperty(const std::string &name, std::string &value)=0
virtual bool isPropertyDefined(const std::string &name)=0
Definition bookkeeping.hh:50
std::shared_ptr< const Context > ConstPtr
Definition context.hh:27
Definition observable.hh:71
Definition rectangle.hh:29
std::weak_ptr< ViewInterface > WeakPtr
Definition viewinterface.hh:194
std::shared_ptr< ViewInterface > Ptr
Definition viewinterface.hh:193
Definition presentationinterface.hh:32
virtual void open(ViewInterface::WeakPtr vi)=0
std::shared_ptr< Viewable > Ptr
Definition presentationinterface.hh:34
virtual void close(ViewInterface::WeakPtr vi)=0
std::weak_ptr< Viewable > WeakPtr
Definition presentationinterface.hh:35
std::set< K, std::owner_less< K > > WeakKeySet
Definition utilities.hh:121
ViewInterface::Ptr const vi
Definition pipette-tests.cc:186