VIEWPlugin.h

Go to the documentation of this file.
00001 #ifndef VIEWPLUGIN_H
00002 #define VIEWPLUGIN_H
00003 
00004 #include <QtCore/QString>
00005 #include <QtCore/QtPlugin>
00006 
00007 class QPixmap;
00008 class QDialog;
00009 
00010 namespace BALL
00011 {
00012   namespace VIEW
00013   {
00014     class VIEWPlugin
00015     {
00016       public:
00017         virtual ~VIEWPlugin() {}
00018 
00019         virtual QString getName() const = 0;
00020         virtual QString getDescription() const = 0;
00021         virtual const QPixmap* getIcon() const = 0;
00022 
00023         virtual QDialog* getConfigDialog() = 0;
00024 
00025         virtual bool isActive() = 0;
00026     };
00027 
00028   }
00029 }
00030 
00031 Q_DECLARE_INTERFACE(BALL::VIEW::VIEWPlugin, "org.ball-project.Plugin.VIEWPlugin/1.0")
00032 
00033 #endif //VIEWPLUGIN_H
00034