author | alwin <alwin> | 2005-03-16 10:05:50 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-16 10:05:50 (UTC) |
commit | 954092e015c34ea0848f41d8acb7b957b12d6384 (patch) (side-by-side diff) | |
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) (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 @@ +#ifndef _HOLIDAY_PLUGIN_H +#define _HOLIDAY_PLUGIN_H + +namespace Opie { +namespace Datebook { + +#include <qstring.h> +#include <qstringlist.h> +#include <qdate.h> + +class HolidayPlugin +{ +public: + HolidayPlugin(){}; + virtual ~HolidayPlugin(){}; + virtual QString description()=0; + virtual QStringList entries(const QDate&)=0; + virtual QStringList entries(unsigned year, unsigned month, unsigned day)=0; +}; + +} +} +#endif + |