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