Code

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