Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

lenseffects.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 *   Copyright (C) 2007 by Franz Schmid                                     *
00009 *   franz.schmid@altmuehlnet.de                                            *
00010 *                                                                          *
00011 *   This program is free software; you can redistribute it and/or modify   *
00012 *   it under the terms of the GNU General Public License as published by   *
00013 *   the Free Software Foundation; either version 2 of the License, or      *
00014 *   (at your option) any later version.                                    *
00015 *                                                                          *
00016 *   This program is distributed in the hope that it will be useful,        *
00017 *   but WITHOUT ANY WARRANTY; without even the implied warranty of         *
00018 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
00019 *   GNU General Public License for more details.                           *
00020 *                                                                          *
00021 *   You should have received a copy of the GNU General Public License      *
00022 *   along with this program; if not, write to the                          *
00023 *   Free Software Foundation, Inc.,                                        *
00024 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
00025 ****************************************************************************/
00026 
00027 #ifndef LENSEFFECS_H
00028 #define LENSEFFECS_H
00029 
00030 #include "pluginapi.h"
00031 #include "scplugin.h"
00032 #include "selection.h"
00033 
00038 class PLUGIN_API LensEffectsPlugin : public ScActionPlugin
00039 {
00040     Q_OBJECT
00041 
00042     public:
00043         // Standard plugin implementation
00044         LensEffectsPlugin();
00045         virtual ~LensEffectsPlugin();
00046         virtual bool run(ScribusDoc* doc, QString target = QString::null);
00047         virtual const QString fullTrName() const;
00048         virtual const AboutData* getAboutData() const;
00049         virtual void deleteAboutData(const AboutData* about) const;
00050         virtual void languageChange();
00051         virtual void addToMainWindowMenu(ScribusMainWindow *) {};
00052 
00053         // Special features (none)
00054 };
00055 
00056 extern "C" PLUGIN_API int lenseffects_getPluginAPIVersion();
00057 extern "C" PLUGIN_API ScPlugin* lenseffects_getPlugin();
00058 extern "C" PLUGIN_API void lenseffects_freePlugin(ScPlugin* plugin);
00059 
00060 #endif
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.