author | alwin <alwin> | 2005-03-16 10:05:50 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-16 10:05:50 (UTC) |
commit | 954092e015c34ea0848f41d8acb7b957b12d6384 (patch) (unidiff) | |
tree | dab1b992308a6dc7ce91163a2d5acef94f4f6f12 /libopie2/opiepim/ui/oholidayplugin.h | |
parent | f53596e1ab4c64bc0b714c58060f78b198c22f5f (diff) | |
download | opie-954092e015c34ea0848f41d8acb7b957b12d6384.zip opie-954092e015c34ea0848f41d8acb7b957b12d6384.tar.gz opie-954092e015c34ea0848f41d8acb7b957b12d6384.tar.bz2 |
first shot of a generic interface for holiday plugin in datebook
Diffstat (limited to 'libopie2/opiepim/ui/oholidayplugin.h') (more/less context) (show 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 | |||