#ifndef SEEN_PREVIEWABLE_H
#define SEEN_PREVIEWABLE_H
/*
* A simple interface for previewing representations.
*
* Authors:
* Jon A. Cruz
*
* Copyright (C) 2005 Jon A. Cruz
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "../widgets/eek-preview.h"
typedef enum {
PREVIEW_STYLE_ICON = 0,
} PreviewStyle;
typedef enum {
VIEW_TYPE_LIST = 0,
} ViewType;
{
// TODO need to add some nice parameters
virtual ~Previewable() {}
virtual Gtk::Widget* getPreview( PreviewStyle style, ViewType view, ::PreviewSize size, guint ratio, guint border) = 0;
};
} //namespace UI
} //namespace Inkscape
#endif // SEEN_PREVIEWABLE_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :