2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
7
#ifndef HUNSPELLPLUGIN_H
8
#define HUNSPELLPLUGIN_H
10
#include "pluginapi.h"
13
/*! \brief See scplugin.h and pluginmanager.{cpp,h} for detail on what these methods do.
14
That documentatation is not duplicated here.
15
Please don't implement the functionality of your plugin here; do that
16
in mypluginimpl.h and mypluginimpl.cpp. */
17
class PLUGIN_API HunspellPlugin : public ScActionPlugin
22
//! \brief Standard plugin implementation
24
virtual ~HunspellPlugin();
25
//! \brief main method to run the plug
26
virtual bool run(ScribusDoc* doc, QString target = QString::null);
27
virtual bool run(QWidget* p, ScribusDoc* doc, QString target = QString::null);
28
virtual const QString fullTrName() const;
29
virtual const AboutData* getAboutData() const;
30
virtual void deleteAboutData(const AboutData* about) const;
31
virtual void languageChange();
32
virtual void addToMainWindowMenu(ScribusMainWindow *) {};
34
// Special features (none)
39
extern "C" PLUGIN_API int hunspellplugin_getPluginAPIVersion();
40
extern "C" PLUGIN_API ScPlugin* hunspellplugin_getPlugin();
41
extern "C" PLUGIN_API void hunspellplugin_freePlugin(ScPlugin* plugin);