Code

Merged from Poppler's Gfx.cc; Unset the font if it doesn't exist or we can not load...
[inkscape.git] / src / extension / internal / wpg-input.h
1 /*
2  * This code abstracts the libwpg interfaces into the Inkscape
3  * input extension interface.
4  *
5  * Authors:
6  *   Ted Gould <ted@gould.cx>
7  *
8  * Copyright (C) 2006 Authors
9  *
10  * Released under GNU GPL, read the file 'COPYING' for more information
11  */
13 #ifndef __EXTENSION_INTERNAL_WPGOUTPUT_H__
14 #define __EXTENSION_INTERNAL_WPGOUTPUT_H__
16 #include "../implementation/implementation.h"
18 namespace Inkscape {
19 namespace Extension {
20 namespace Internal {
22 class WpgInput : public Inkscape::Extension::Implementation::Implementation {
23     WpgInput () { };
24 public:
25     SPDocument *open( Inkscape::Extension::Input *mod,
26                                 const gchar *uri );
27     static void         init( void );
29 };
31 } } }  /* namespace Inkscape, Extension, Implementation */
32 #endif /* __EXTENSION_INTERNAL_WPGOUTPUT_H__ */
34 /*
35   Local Variables:
36   mode:c++
37   c-file-style:"stroustrup"
38   c-file-offsets:((innamespace . 0)(inline-open . 0))
39   indent-tabs-mode:nil
40   fill-column:99
41   End:
42 */
43 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :