summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/ui/oholidayplugin.h
authoralwin <alwin>2005-03-17 13:47:55 (UTC)
committer alwin <alwin>2005-03-17 13:47:55 (UTC)
commit8c3f9c35425a2f2dbbbee61e6aa3e9a312ccba0e (patch) (unidiff)
tree6f3a2413b962b718f43f50b6c70c3f7cad23f1e7 /libopie2/opiepim/ui/oholidayplugin.h
parente9865193fc0acdb84e0317f1188a70ca6f546ade (diff)
downloadopie-8c3f9c35425a2f2dbbbee61e6aa3e9a312ccba0e.zip
opie-8c3f9c35425a2f2dbbbee61e6aa3e9a312ccba0e.tar.gz
opie-8c3f9c35425a2f2dbbbee61e6aa3e9a312ccba0e.tar.bz2
I had to change interface. so the used UUID has changed, too!
But now these plugins may give a list of EffectiveEvents back.
Diffstat (limited to 'libopie2/opiepim/ui/oholidayplugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ui/oholidayplugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie2/opiepim/ui/oholidayplugin.h b/libopie2/opiepim/ui/oholidayplugin.h
index 2e8c09e..52db0eb 100644
--- a/libopie2/opiepim/ui/oholidayplugin.h
+++ b/libopie2/opiepim/ui/oholidayplugin.h
@@ -3,24 +3,27 @@
3 3
4#include <qstring.h> 4#include <qstring.h>
5#include <qstringlist.h> 5#include <qstringlist.h>
6#include <qdatetime.h> 6#include <qdatetime.h>
7#include <qmap.h> 7#include <qmap.h>
8 8
9class EffectiveEvent;
10
9namespace Opie { 11namespace Opie {
10namespace Datebook { 12namespace Datebook {
11 13
12class HolidayPlugin 14class HolidayPlugin
13{ 15{
14public: 16public:
15 HolidayPlugin(){}; 17 HolidayPlugin(){};
16 virtual ~HolidayPlugin(){}; 18 virtual ~HolidayPlugin(){};
17 virtual QString description()=0; 19 virtual QString description()=0;
18 virtual QStringList entries(const QDate&)=0; 20 virtual QStringList entries(const QDate&)=0;
19 virtual QStringList entries(unsigned year, unsigned month, unsigned day)=0; 21 virtual QStringList entries(unsigned year, unsigned month, unsigned day)=0;
20 virtual QMap<QDate,QStringList> entries(const QDate&,const QDate&)=0; 22 virtual QMap<QDate,QStringList> entries(const QDate&,const QDate&)=0;
23 virtual QValueList<EffectiveEvent> events(const QDate&,const QDate&)=0;
21}; 24};
22 25
23} 26}
24} 27}
25#endif 28#endif
26 29