Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
oldscribusformat.cpp File Reference
#include "oldscribusformat.h"
#include "oldscribusformat.moc"
#include "oldscribusformatimpl.h"
#include "scconfig.h"

Go to the source code of this file.

Functions

int oldscribusformat_getPluginAPIVersion ()
ScPlugin * oldscribusformat_getPlugin ()
void oldscribusformat_freePlugin (ScPlugin *plugin)

Function Documentation

void oldscribusformat_freePlugin ( ScPlugin *  plugin)

Definition at line 109 of file oldscribusformat.cpp.

{
       OldScribusFormat* plug = dynamic_cast<OldScribusFormat*>(plugin);
       Q_ASSERT(plug);
       delete plug;
}

Definition at line 102 of file oldscribusformat.cpp.

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

Definition at line 97 of file oldscribusformat.cpp.

{
       return PLUGIN_API_VERSION;
}