/*
* Code to handle compressed SVG loading and saving. Almost identical to svg
* routines, but separated for simpler extension maintenance.
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Ted Gould <ted@gould.cx>
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2002-2005 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "svgz.h"
#include "extension/extension.h"
namespace Inkscape {
namespace Extension {
namespace Internal {
#include "clear-n_.h"
/**
\return None
files. This function sets that up.
For each module there is a call to Inkscape::Extension::build_from_mem
with a rather large XML file passed in. This is a constant string
that describes the module. At the end of this call a module is
returned that is basically filled out. The one thing that it doesn't
have is the key function for the operation. And that is linked at
the end of each call.
*/
void
{
/* SVGZ in */
"<input>\n"
"<extension>.svgz</extension>\n"
"</input>\n"
"</inkscape-extension>", new Svgz());
/* SVGZ out Inkscape */
"<output>\n"
"<extension>.svgz</extension>\n"
"<mimetype>image/x-inkscape-svg-compressed</mimetype>\n"
"<dataloss>false</dataloss>\n"
"</output>\n"
"</inkscape-extension>", new Svgz());
/* SVGZ out */
"<output>\n"
"<extension>.svgz</extension>\n"
"<filetypetooltip>" N_("Scalable Vector Graphics format compressed with GZip") "</filetypetooltip>\n"
"</output>\n"
"</inkscape-extension>\n", new Svgz());
return;
}
} } } // namespace inkscape, module, implementation
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :