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 "../icon-size.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( Inkscape::IconSize size, ViewType type) = 0;
31 virtual void setOrientation( Gtk::AnchorType how ) = 0;
32 virtual Inkscape::IconSize getPreviewSize() const = 0;
33 virtual ViewType getPreviewType() const = 0;
34 virtual void setWrap( bool b ) = 0;
35 virtual bool getWrap() const = 0;
36 };
39 } //namespace UI
40 } //namespace Inkscape
43 #endif // SEEN_PREVIEWFILLABLE_H
45 /*
46 Local Variables:
47 mode:c++
48 c-file-style:"stroustrup"
49 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
50 indent-tabs-mode:nil
51 fill-column:99
52 End:
53 */
54 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :