Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
svgexplugin.cpp File Reference
#include <qfile.h>
#include <qtextstream.h>
#include "svgexplugin.h"
#include "scconfig.h"
#include "cmsettings.h"
#include "commonstrings.h"
#include "customfdialog.h"
#include "scribuscore.h"
#include "page.h"
#include "scgzfile.h"
#include "prefsmanager.h"
#include "prefsfile.h"
#include "prefscontext.h"
#include "scmessagebox.h"
#include "util.h"
#include "sctextstruct.h"
#include "guidemanager.h"
#include "sccolorengine.h"
#include "svgexplugin.moc"

Go to the source code of this file.

Functions

int svgexplugin_getPluginAPIVersion ()
ScPlugin * svgexplugin_getPlugin ()
void svgexplugin_freePlugin (ScPlugin *plugin)

Function Documentation

void svgexplugin_freePlugin ( ScPlugin *  plugin)

Definition at line 58 of file svgexplugin.cpp.

{
       SVGExportPlugin* plug = dynamic_cast<SVGExportPlugin*>(plugin);
       Q_ASSERT(plug);
       delete plug;
}
ScPlugin* svgexplugin_getPlugin ( )

Definition at line 51 of file svgexplugin.cpp.

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

Definition at line 46 of file svgexplugin.cpp.

{
       return PLUGIN_API_VERSION;
}