Go to the documentation of this file.
10 #include <gmock/gmock.h>
18 using Ptr = boost::shared_ptr<PresentationMock>;
37 using Ptr = boost::shared_ptr<ColormappablePresentationMock>;
MOCK_METHOD1(open, void(ViewInterface::WeakPtr))
virtual void open(ViewInterface::WeakPtr vi)=0
Definition: presentationinterface.hh:69
MOCK_METHOD0(getRect, Scroom::Utils::Rectangle< double >())
virtual void close(ViewInterface::WeakPtr vi)=0
MOCK_METHOD4(redraw, void(ViewInterface::Ptr const &, cairo_t *, Scroom::Utils::Rectangle< double >, int))
static Ptr create()
Definition: presentationinterface.hh:20
virtual void redraw(ViewInterface::Ptr const &vi, cairo_t *cr, Scroom::Utils::Rectangle< double > presentationArea, int zoom)=0
boost::shared_ptr< ViewInterface > Ptr
Definition: viewinterface.hh:193
Definition: presentationinterface.hh:32
virtual bool isPropertyDefined(const std::string &name)=0
Definition: presentationinterface.hh:15
static Ptr create()
Definition: presentationinterface.hh:39
virtual std::string getTitle()=0
boost::weak_ptr< ViewInterface > WeakPtr
Definition: viewinterface.hh:194
virtual bool getProperty(const std::string &name, std::string &value)=0
boost::shared_ptr< ColormappablePresentationMock > Ptr
Definition: presentationinterface.hh:37
virtual Scroom::Utils::Rectangle< double > getRect()=0
boost::shared_ptr< Colormappable > Ptr
Definition: colormappable.hh:116
boost::shared_ptr< PresentationMock > Ptr
Definition: presentationinterface.hh:18
Definition: colormappable.hh:14
MOCK_METHOD2(getProperty, bool(const std::string &, std::string &))