Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
colorwheel.cpp File Reference
#include "colorwheel.h"
#include "colorwheel.moc"
#include "cwdialog.h"
#include <qcursor.h>
#include <qlistview.h>
#include "scribuscore.h"

Go to the source code of this file.

Functions

int colorwheel_getPluginAPIVersion ()
ScPlugin * colorwheel_getPlugin ()
void colorwheel_freePlugin (ScPlugin *plugin)

Function Documentation

void colorwheel_freePlugin ( ScPlugin *  plugin)

Definition at line 27 of file colorwheel.cpp.

{
       ColorWheelPlugin* plug = dynamic_cast<ColorWheelPlugin*>(plugin);
       Q_ASSERT(plug);
       delete plug;
}
ScPlugin* colorwheel_getPlugin ( )

Definition at line 20 of file colorwheel.cpp.

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

Definition at line 15 of file colorwheel.cpp.

{
       return PLUGIN_API_VERSION;
}