Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
importpsplugin.cpp File Reference
#include "importpsplugin.h"
#include "importpsplugin.moc"
#include "importps.h"
#include "scribuscore.h"
#include "page.h"
#include "prefsmanager.h"
#include "prefscontext.h"
#include "prefsfile.h"
#include "undomanager.h"
#include "customfdialog.h"
#include "scraction.h"
#include "menumanager.h"

Go to the source code of this file.

Functions

int importps_getPluginAPIVersion ()
ScPlugin * importps_getPlugin ()
void importps_freePlugin (ScPlugin *plugin)

Function Documentation

void importps_freePlugin ( ScPlugin *  plugin)

Definition at line 32 of file importpsplugin.cpp.

{
       ImportPSPlugin* plug = dynamic_cast<ImportPSPlugin*>(plugin);
       Q_ASSERT(plug);
       delete plug;
}
ScPlugin* importps_getPlugin ( )

Definition at line 25 of file importpsplugin.cpp.

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

Definition at line 20 of file importpsplugin.cpp.

{
       return PLUGIN_API_VERSION;
}