~ubuntu-branches/ubuntu/trusty/scribus/trusty

« back to all changes in this revision

Viewing changes to scribus/plugins/tools/hunspellcheck/hunspellplugin.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-05-16 20:34:07 UTC
  • mfrom: (1.1.13) (32.1.2 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130516203407-ztj7ebsivoo41dih
Tags: 1.4.2.dfsg+r18267-1ubuntu2
Avoid qreal/double type clashes on ARM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
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.
 
6
*/
 
7
#ifndef HUNSPELLPLUGIN_H
 
8
#define HUNSPELLPLUGIN_H
 
9
 
 
10
#include "pluginapi.h"
 
11
#include "scplugin.h"
 
12
 
 
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
 
18
{
 
19
        Q_OBJECT
 
20
 
 
21
        public:
 
22
                //! \brief Standard plugin implementation
 
23
                HunspellPlugin();
 
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 *) {};
 
33
 
 
34
                // Special features (none)
 
35
 
 
36
                QWidget *m_parent;
 
37
};
 
38
 
 
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);
 
42
 
 
43
#endif