|
Revision 173, 1.7 kB
(checked in by jordi, 2 years ago)
|
|
Added the missing pure virtual function to make the tests compile.
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | #if !defined (__DUMB_PAGE_VIEW_H__) |
|---|
| 19 | #define __DUMB_PAGE_VIEW_H__ |
|---|
| 20 | |
|---|
| 21 | namespace ePDFView |
|---|
| 22 | { |
|---|
| 23 | class DumbPageView: public IPageView |
|---|
| 24 | { |
|---|
| 25 | public: |
|---|
| 26 | DumbPageView (void); |
|---|
| 27 | ~DumbPageView (void); |
|---|
| 28 | |
|---|
| 29 | gdouble getHorizontalScroll (void); |
|---|
| 30 | void getSize (gint *width, gint *height); |
|---|
| 31 | gdouble getVerticalScroll (void); |
|---|
| 32 | void makeRectangleVisible (DocumentRectangle &rect, gdouble scale); |
|---|
| 33 | void resizePage (gint width, gint height); |
|---|
| 34 | void scrollPage (gdouble scrollX, gdouble scrollY, |
|---|
| 35 | gint dx, gint dy); |
|---|
| 36 | void setCursor (PageCursor cursorType); |
|---|
| 37 | void showPage (DocumentPage *page, PageScroll scroll); |
|---|
| 38 | void showText (const gchar *text); |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | private: |
|---|
| 42 | gdouble m_HorizontalScroll; |
|---|
| 43 | gdouble m_VerticalScroll; |
|---|
| 44 | }; |
|---|
| 45 | } |
|---|
| 46 | |
|---|
| 47 | #endif // !__DUMB_PAGE_VIEW_H__ |
|---|