00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef QWT_TEXT_PLUGIN_H
00013 #define QWT_TEXT_PLUGIN_H 1
00014
00015 #include "qwt_global.h"
00016
00017 #if QT_VERSION >= 0x040000
00018
00019 #include <qplugin.h>
00020
00021 class QwtTextEngine;
00022
00028 class QWT_EXPORT QwtTextPlugin
00029 {
00030 public:
00032 virtual ~QwtTextPlugin() {}
00033
00038 virtual int format() const = 0;
00039
00041 virtual QwtTextEngine *engine() const = 0;
00042 };
00043
00044 Q_DECLARE_INTERFACE(QwtTextPlugin, "Qwt.TextPlugin/1.0");
00045
00046 #endif
00047
00048 #endif