Back to index

scribus-ng  1.3.4.dfsg+svn20071115
myplugin.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 #ifndef COLORWHEEL_H
00008 #define COLORWHEEL_H
00009 
00010 #include "pluginapi.h"
00011 #include "scplugin.h"
00012 
00017 class PLUGIN_API MyPlugin : public ScActionPlugin
00018 {
00019        Q_OBJECT
00020 
00021        public:
00023               MyPlugin();
00024               virtual ~MyPlugin();
00026               virtual bool run(ScribusDoc* doc, QString target = QString::null);
00027               virtual const QString fullTrName() const;
00028               virtual const AboutData* getAboutData() const;
00029               virtual void deleteAboutData(const AboutData* about) const;
00030               virtual void languageChange();
00031               virtual void addToMainWindowMenu(ScribusMainWindow *) {};
00032 
00033               // Special features (none)
00034 };
00035 
00036 extern "C" PLUGIN_API int myplugin_getPluginAPIVersion();
00037 extern "C" PLUGIN_API ScPlugin* myplugin_getPlugin();
00038 extern "C" PLUGIN_API void myplugin_freePlugin(ScPlugin* plugin);
00039 
00040 #endif