summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/ui/oholidayplugin.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiepim/ui/oholidayplugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ui/oholidayplugin.h24
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
+