2 #ifndef SEEN_PREVIEWFILLABLE_H
3 #define SEEN_PREVIEWFILLABLE_H
4 /*
5 * A simple interface for previewing representations.
6 *
7 * Authors:
8 * Jon A. Cruz
9 *
10 * Copyright (C) 2005 Jon A. Cruz
11 *
12 * Released under GNU GPL, read the file 'COPYING' for more information
13 */
16 #include "previewable.h"
17 #include "../dialogs/eek-preview.h"
19 namespace Inkscape {
20 namespace UI {
22 class PreviewFillable
23 {
24 public:
25 virtual ~PreviewFillable() {}
26 virtual void clear() = 0;
27 virtual void addPreview( Previewable* preview ) = 0;
28 virtual void freezeUpdates() = 0;
29 virtual void thawUpdates() = 0;
30 virtual void setStyle( ::PreviewSize size, ViewType type, guint ratio) = 0;
31 virtual void setOrientation( Gtk::AnchorType how ) = 0;
32 virtual ::PreviewSize getPreviewSize() const = 0;
33 virtual ViewType getPreviewType() const = 0;
34 virtual guint getPreviewRatio() const = 0;
35 virtual void setWrap( bool b ) = 0;
36 virtual bool getWrap() const = 0;
37 };
40 } //namespace UI
41 } //namespace Inkscape
44 #endif // SEEN_PREVIEWFILLABLE_H
46 /*
47 Local Variables:
48 mode:c++
49 c-file-style:"stroustrup"
50 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
51 indent-tabs-mode:nil
52 fill-column:99
53 End:
54 */
55 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :