libopie API Documentation

todayplugininterface.h

00001 /*
00002                             This file is part of the Opie Project
00003                              Copyright (c)  2002 Maximilian Reiss <max.reiss@gmx.de>
00004               =.
00005             .=l.
00006            .>+-=
00007  _;:,     .>    :=|.         This program is free software; you can
00008 .> <`_,   >  .   <=          redistribute it and/or  modify it under
00009 :`=1 )Y*s>-.--   :           the terms of the GNU General Public
00010 .="- .-=="i,     .._         License as published by the Free Software
00011  - .   .-<_>     .<>         Foundation; either version 2 of the License,
00012      ._= =}       :          or (at your option) any later version.
00013     .%`+i>       _;_.
00014     .i_,=:_.      -<s.       This program is distributed in the hope that
00015      +  .  -:.       =       it will be useful,  but WITHOUT ANY WARRANTY;
00016     : ..    .:,     . . .    without even the implied warranty of
00017     =_        +     =;=|`    MERCHANTABILITY or FITNESS FOR A
00018   _.=:.       :    :=>`:     PARTICULAR PURPOSE. See the GNU
00019 ..}^=.=       =       ;      Library General Public License for more
00020 ++=   -.     .`     .:       details.
00021  :     =  ...= . :.=-
00022  -.   .:....=;==+<;          You should have received a copy of the GNU
00023   -_. . .   )=.  =           Library General Public License along with
00024     --        :-=`           this library; see the file COPYING.LIB.
00025                              If not, write to the Free Software Foundation,
00026                              Inc., 59 Temple Place - Suite 330,
00027                              Boston, MA 02111-1307, USA.
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
KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:46 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001