00001 /* 00002 * exampleplugin.h 00003 * 00004 * email : harlekin@handhelds.org 00005 * 00006 */ 00007 00008 00009 #ifndef EXAMPLE_PLUGIN_H 00010 #define EXAMPLE_PLUGIN_H 00011 00012 #include <opie2/todayplugininterface.h> 00013 #include <opie2/todayconfigwidget.h> 00014 00015 #include "examplepluginwidget.h" 00016 00017 // implementation of the today plugin interface 00018 class ExamplePlugin : public TodayPluginObject { 00019 00020 public: 00021 ExamplePlugin(); 00022 ~ExamplePlugin(); 00023 00024 QString pluginName() const; 00025 double versionNumber() const; 00026 QString pixmapNameWidget() const; 00027 QWidget* widget(QWidget *); 00028 QString pixmapNameConfig() const; 00029 TodayConfigWidget* configWidget(QWidget *); 00030 QString appName() const; 00031 bool excludeFromRefresh() const; 00032 void refresh(); 00033 void reinitialize(); 00034 private: 00035 ExamplePluginWidget *m_widget; 00036 }; 00037 00038 #endif
1.4.2