Back to index

scribus-ng  1.3.4.dfsg+svn20071115
colorwheel.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 
00008 #ifndef COLORWHEEL_H
00009 #define COLORWHEEL_H
00010 
00011 #include "pluginapi.h"
00012 #include "scplugin.h"
00013 
00022 class PLUGIN_API ColorWheelPlugin : public ScActionPlugin
00023 {
00024        Q_OBJECT
00025 
00026        public:
00027               // Standard plugin implementation
00028               ColorWheelPlugin();
00029               virtual ~ColorWheelPlugin();
00030               virtual bool run(ScribusDoc* doc, QString target = QString::null);
00031               virtual const QString fullTrName() const;
00032               virtual const AboutData* getAboutData() const;
00033               virtual void deleteAboutData(const AboutData* about) const;
00034               virtual void languageChange();
00035               virtual void addToMainWindowMenu(ScribusMainWindow *) {};
00036 
00037               // Special features (none)
00038 };
00039 
00040 extern "C" PLUGIN_API int colorwheel_getPluginAPIVersion();
00041 extern "C" PLUGIN_API ScPlugin* colorwheel_getPlugin();
00042 extern "C" PLUGIN_API void colorwheel_freePlugin(ScPlugin* plugin);
00043 
00044 #endif