Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
oodrawimp.cpp File Reference
#include <qwidget.h>
#include <qfile.h>
#include <qtextstream.h>
#include <qregexp.h>
#include <qcursor.h>
#include <qdragobject.h>
#include <qdir.h>
#include <qstring.h>
#include <qdom.h>
#include <cmath>
#include "oodrawimp.h"
#include "oodrawimp.moc"
#include "scconfig.h"
#include "scribuscore.h"
#include "scribusdoc.h"
#include "pageitem.h"
#include "fpointarray.h"
#include "customfdialog.h"
#include "commonstrings.h"
#include "color.h"
#include "scribusXml.h"
#include "mpalette.h"
#include "prefsmanager.h"
#include "prefsfile.h"
#include "prefscontext.h"
#include "prefstable.h"
#include "fileunzip.h"
#include "selection.h"
#include "serializer.h"
#include "undomanager.h"
#include "pluginmanager.h"
#include "util.h"
#include "stylestack.h"
#include "scraction.h"
#include "menumanager.h"
#include "sccolorengine.h"

Go to the source code of this file.

Functions

int oodrawimp_getPluginAPIVersion ()
ScPlugin * oodrawimp_getPlugin ()
void oodrawimp_freePlugin (ScPlugin *plugin)

Function Documentation

void oodrawimp_freePlugin ( ScPlugin *  plugin)

Definition at line 61 of file oodrawimp.cpp.

{
       OODrawImportPlugin* plug = dynamic_cast<OODrawImportPlugin*>(plugin);
       Q_ASSERT(plug);
       delete plug;
}
ScPlugin* oodrawimp_getPlugin ( )

Definition at line 54 of file oodrawimp.cpp.

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

Definition at line 49 of file oodrawimp.cpp.

{
       return PLUGIN_API_VERSION;
}