Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
satemplate.cpp File Reference
#include "satemplate.h"
#include "satemplate.moc"
#include "satdialog.h"
#include "scpaths.h"
#include "scribuscore.h"
#include "scribusdoc.h"
#include "prefsfile.h"
#include "prefsmanager.h"

Go to the source code of this file.

Functions

int saveastemplateplugin_getPluginAPIVersion ()
ScPlugin * saveastemplateplugin_getPlugin ()
void saveastemplateplugin_freePlugin (ScPlugin *plugin)

Function Documentation

void saveastemplateplugin_freePlugin ( ScPlugin *  plugin)

Definition at line 32 of file satemplate.cpp.

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

Definition at line 25 of file satemplate.cpp.

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

Definition at line 20 of file satemplate.cpp.

{
       return PLUGIN_API_VERSION;
}