00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef TODAY_PLUGIN_INTERFACE
00033 #define TODAY_PLUGIN_INTERFACE
00034
00035 #include <qpe/qcom.h>
00036 #include "todayconfigwidget.h"
00037
00038 class QString;
00039 class QWidget;
00040
00041 #ifndef IID_TodayPluginInterface
00042 #define IID_TodayPluginInterface QUuid( 0x70481804, 0x2b50, 0x4fba, 0x80, 0xbb, 0x0b, 0xf8, 0xdc, 0x72, 0x04, 0x14)
00043 #endif
00044
00055 class TodayPluginObject {
00056
00057 public:
00058
00059 virtual ~TodayPluginObject() {};
00060
00065 virtual QString pluginName() const = 0;
00066
00071 virtual double versionNumber() const = 0;
00072
00073
00077 virtual QString pixmapNameWidget() const = 0;
00078
00090 virtual QWidget* widget( QWidget *parent ) = 0;
00091
00095 virtual QString pixmapNameConfig() const = 0;
00096
00105 virtual TodayConfigWidget* configWidget( QWidget *parent ) = 0;
00106
00112 virtual QString appName() const = 0;
00113
00114
00118 virtual bool excludeFromRefresh() const = 0;
00119
00123 virtual void refresh() {};
00124
00129 virtual void reinitialize() {};
00130 };
00131
00135 struct TodayPluginInterface : public QUnknownInterface {
00139 virtual TodayPluginObject *guiPart() = 0;
00140 };
00141
00142 #endif