todayplugininterface.h
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
00084 virtual QWidget* widget( QWidget *parent ) = 0;
00085
00089 virtual QString pixmapNameConfig() const = 0;
00090
00096 virtual TodayConfigWidget* configWidget( QWidget * ) = 0;
00097
00103 virtual QString appName() const = 0;
00104
00105
00109 virtual bool excludeFromRefresh() const = 0;
00110
00114 virtual void refresh() {};
00115
00120 virtual void reinitialize() {};
00121 };
00122
00126 struct TodayPluginInterface : public QUnknownInterface {
00130 virtual TodayPluginObject *guiPart() = 0;
00131 };
00132
00133 #endif
This file is part of the documentation for OPIE Version 1.1.