Diffstat (limited to 'libopie2/opiepim/ui/oholidayplugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/ui/oholidayplugin.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libopie2/opiepim/ui/oholidayplugin.h b/libopie2/opiepim/ui/oholidayplugin.h new file mode 100644 index 0000000..f4958c8 --- a/dev/null +++ b/libopie2/opiepim/ui/oholidayplugin.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef _HOLIDAY_PLUGIN_H | ||
2 | #define _HOLIDAY_PLUGIN_H | ||
3 | |||
4 | namespace Opie { | ||
5 | namespace Datebook { | ||
6 | |||
7 | #include <qstring.h> | ||
8 | #include <qstringlist.h> | ||
9 | #include <qdate.h> | ||
10 | |||
11 | class HolidayPlugin | ||
12 | { | ||
13 | public: | ||
14 | HolidayPlugin(){}; | ||
15 | virtual ~HolidayPlugin(){}; | ||
16 | virtual QString description()=0; | ||
17 | virtual QStringList entries(const QDate&)=0; | ||
18 | virtual QStringList entries(unsigned year, unsigned month, unsigned day)=0; | ||
19 | }; | ||
20 | |||
21 | } | ||
22 | } | ||
23 | #endif | ||
24 | |||