1 /*
2 * A quick hack to use the print output to write out a file. This
3 * then makes 'save as...' PS.
4 *
5 * Authors:
6 * Ted Gould <ted@gould.cx>
7 * Ulf Erikson <ulferikson@users.sf.net>
8 * Adib Taraben <theAdib@yahoo.com>
9 *
10 * Copyright (C) 2004-2006 Authors
11 *
12 * Released under GNU GPL, read the file 'COPYING' for more information
13 */
15 #ifndef EXTENSION_INTERNAL_CAIRO_PS_OUT_H
16 #define EXTENSION_INTERNAL_CAIRO_PS_OUT_H
18 #include "extension/implementation/implementation.h"
20 #ifdef HAVE_CAIRO_PDF
22 namespace Inkscape {
23 namespace Extension {
24 namespace Internal {
26 class CairoPsOutput : Inkscape::Extension::Implementation::Implementation {
28 public:
29 bool check(Inkscape::Extension::Extension *module);
30 void save(Inkscape::Extension::Output *mod,
31 SPDocument *doc,
32 gchar const *uri);
33 static void init();
34 };
36 } } } /* namespace Inkscape, Extension, Implementation */
38 #endif /* HAVE_CAIRO_PDF */
40 #endif /* !EXTENSION_INTERNAL_CAIRO_PS_OUT_H */
42 /*
43 Local Variables:
44 mode:c++
45 c-file-style:"stroustrup"
46 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
47 indent-tabs-mode:nil
48 fill-column:99
49 End:
50 */
51 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :