Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
svgplugin.cpp File Reference
#include "svgplugin.h"
#include "svgplugin.moc"
#include "scconfig.h"
#include "customfdialog.h"
#include "color.h"
#include "scribus.h"
#include "scribusXml.h"
#include "mpalette.h"
#include "prefsfile.h"
#include <qfile.h>
#include <qtextstream.h>
#include <qdragobject.h>
#include <qregexp.h>
#include <qcursor.h>
#include <cmath>
#include <zlib.h>
#include "commonstrings.h"
#include "fpointarray.h"
#include "menumanager.h"
#include "prefsmanager.h"
#include "pageitem.h"
#include "scraction.h"
#include "scribuscore.h"
#include "scribusdoc.h"
#include "selection.h"
#include "undomanager.h"
#include "loadsaveplugin.h"
#include "util.h"
#include "fonts/scfontmetrics.h"
#include "sccolorengine.h"

Go to the source code of this file.

Functions

int svgimplugin_getPluginAPIVersion ()
ScPlugin * svgimplugin_getPlugin ()
void svgimplugin_freePlugin (ScPlugin *plugin)

Function Documentation

void svgimplugin_freePlugin ( ScPlugin *  plugin)

Definition at line 54 of file svgplugin.cpp.

{
       SVGImportPlugin* plug = dynamic_cast<SVGImportPlugin*>(plugin);
       Q_ASSERT(plug);
       delete plug;
}
ScPlugin* svgimplugin_getPlugin ( )

Definition at line 47 of file svgplugin.cpp.

{
       SVGImportPlugin* plug = new SVGImportPlugin();
       Q_CHECK_PTR(plug);
       return plug;
}

Definition at line 42 of file svgplugin.cpp.

{
       return PLUGIN_API_VERSION;
}