Code

ifdef instead of ifndef WITH_LIBWPG
[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 #ifdef WITH_LIBWPG
18 #include "../implementation/implementation.h"
20 namespace Inkscape {
21 namespace Extension {
22 namespace Internal {
24 class WpgInput : public Inkscape::Extension::Implementation::Implementation {
25     WpgInput () { };
26 public:
27     SPDocument *open( Inkscape::Extension::Input *mod,
28                                 const gchar *uri );
29     static void         init( void );
31 };
33 } } }  /* namespace Inkscape, Extension, Implementation */
35 #endif /* WITH_LIBWPG */
36 #endif /* __EXTENSION_INTERNAL_WPGOUTPUT_H__ */
39 /*
40   Local Variables:
41   mode:c++
42   c-file-style:"stroustrup"
43   c-file-offsets:((innamespace . 0)(inline-open . 0))
44   indent-tabs-mode:nil
45   fill-column:99
46   End:
47 */
48 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :