Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Classes | Functions
colorwheel.h File Reference
#include "pluginapi.h"
#include "scplugin.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  PLUGIN_API
 Scribus interface to the Barcode Generator. More...

Functions

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

Function Documentation

PLUGIN_API void colorwheel_freePlugin ( ScPlugin *  plugin)

Definition at line 27 of file colorwheel.cpp.

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

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;
}