index c385a9f14070f28eeb5a5cbcff659b294a703c81..c37d5705b4bc0b0077fc2506a9b129ed0b6bd79f 100644 (file)
*/
#include <stdio.h>
+#include "config.h"
+
+#ifdef WITH_LIBWPG
#include "wpg-input.h"
#include "extension/system.h"
#include "libwpg/libwpg.h"
#include "libwpg/WPGStreamImplementation.h"
+
using namespace libwpg;
namespace Inkscape {
Inkscape::Extension::Extension * ext;
ext = Inkscape::Extension::build_from_mem(
- "<inkscape-extension>\n"
+ "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI "\">\n"
"<name>" N_("WPG Input") "</name>\n"
"<id>org.inkscape.input.wpg</id>\n"
"<input>\n"
} // init
} } } /* namespace Inkscape, Extension, Implementation */
+#endif /* WITH_LIBWPG */
/*
Local Variables: