Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
barcode.cpp File Reference
#include "barcode.h"
#include "barcode.moc"
#include "barcodegenerator.h"

Go to the source code of this file.

Functions

int barcodegenerator_getPluginAPIVersion ()
ScPlugin * barcodegenerator_getPlugin ()
void barcodegenerator_freePlugin (ScPlugin *plugin)

Function Documentation

void barcodegenerator_freePlugin ( ScPlugin *  plugin)

Definition at line 73 of file barcode.cpp.

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

Definition at line 66 of file barcode.cpp.

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

Definition at line 61 of file barcode.cpp.

{
       return PLUGIN_API_VERSION;
}