Back to index

scribus-ng  1.3.4.dfsg+svn20071115
barcode.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 BARCODE_H
00009 #define BARCODE_H
00010 
00011 #include "pluginapi.h"
00012 #include "scplugin.h"
00013 
00014 
00018 class PLUGIN_API Barcode : public ScActionPlugin
00019 {
00020        Q_OBJECT
00021 
00022        public:
00023               Barcode();
00024               virtual ~Barcode();
00027               virtual bool run(ScribusDoc* doc, QString target = QString::null);
00028               virtual const QString fullTrName() const;
00029               virtual const AboutData* getAboutData() const;
00030               virtual void deleteAboutData(const AboutData* about) const;
00031               virtual void languageChange();
00032               virtual void addToMainWindowMenu(ScribusMainWindow *) {};
00033 };
00034 
00035 extern "C" PLUGIN_API int barcodegenerator_getPluginAPIVersion();
00036 extern "C" PLUGIN_API ScPlugin* barcodegenerator_getPlugin();
00037 extern "C" PLUGIN_API void barcodegenerator_freePlugin(ScPlugin* plugin);
00038 
00039 #endif