qwt_text_plugin.h

00001 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
00002  * Qwt Widget Library
00003  * Copyright (C) 1997   Josef Wilgen
00004  * Copyright (C) 2003   Uwe Rathmann
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the Qwt License, Version 1.0
00008  *****************************************************************************/
00009 
00010 // vim: expandtab
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

Generated on Mon Nov 6 20:32:57 2006 for Qwt User's Guide by  doxygen 1.4.6