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