summaryrefslogtreecommitdiff
path: root/libopie2/opiepim
Unidiff
Diffstat (limited to 'libopie2/opiepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ui/oholidayplugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opiepim/ui/oholidayplugin.h b/libopie2/opiepim/ui/oholidayplugin.h
index 50dfe13..2e8c09e 100644
--- a/libopie2/opiepim/ui/oholidayplugin.h
+++ b/libopie2/opiepim/ui/oholidayplugin.h
@@ -1,24 +1,26 @@
1#ifndef _HOLIDAY_PLUGIN_H 1#ifndef _HOLIDAY_PLUGIN_H
2#define _HOLIDAY_PLUGIN_H 2#define _HOLIDAY_PLUGIN_H
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 8
8namespace Opie { 9namespace Opie {
9namespace Datebook { 10namespace Datebook {
10 11
11class HolidayPlugin 12class HolidayPlugin
12{ 13{
13public: 14public:
14 HolidayPlugin(){}; 15 HolidayPlugin(){};
15 virtual ~HolidayPlugin(){}; 16 virtual ~HolidayPlugin(){};
16 virtual QString description()=0; 17 virtual QString description()=0;
17 virtual QStringList entries(const QDate&)=0; 18 virtual QStringList entries(const QDate&)=0;
18 virtual QStringList entries(unsigned year, unsigned month, unsigned day)=0; 19 virtual QStringList entries(unsigned year, unsigned month, unsigned day)=0;
20 virtual QMap<QDate,QStringList> entries(const QDate&,const QDate&)=0;
19}; 21};
20 22
21} 23}
22} 24}
23#endif 25#endif
24 26