summaryrefslogtreecommitdiff
path: root/libopie/pim/otodoaccessbackend.h
Side-by-side diff
Diffstat (limited to 'libopie/pim/otodoaccessbackend.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/otodoaccessbackend.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libopie/pim/otodoaccessbackend.h b/libopie/pim/otodoaccessbackend.h
new file mode 100644
index 0000000..ebe2189
--- a/dev/null
+++ b/libopie/pim/otodoaccessbackend.h
@@ -0,0 +1,18 @@
+#ifndef OPIE_TODO_ACCESS_BACKEND_H
+#define OPIE_TODO_ACCESS_BACKEND_H
+
+#include "otodo.h"
+#include "opimaccessbackend.h"
+
+class OTodoAccessBackend : public OPimAccessBackend<OTodo> {
+public:
+ OTodoAccessBackend();
+ ~OTodoAccessBackend();
+ virtual QArray<int> effectiveToDos( const QDate& start,
+ const QDate& end,
+ bool includeNoDates ) = 0;
+ virtual QArray<int> overDue() = 0;
+
+};
+
+#endif