Diffstat (limited to 'noncore/unsupported/libopie/pim/otodoaccessbackend.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/libopie/pim/otodoaccessbackend.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/unsupported/libopie/pim/otodoaccessbackend.h b/noncore/unsupported/libopie/pim/otodoaccessbackend.h new file mode 100644 index 0000000..6be95bc --- a/dev/null +++ b/noncore/unsupported/libopie/pim/otodoaccessbackend.h | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifndef OPIE_TODO_ACCESS_BACKEND_H | ||
2 | #define OPIE_TODO_ACCESS_BACKEND_H | ||
3 | |||
4 | #include <qbitarray.h> | ||
5 | |||
6 | #include "otodo.h" | ||
7 | #include "opimaccessbackend.h" | ||
8 | |||
9 | class OTodoAccessBackend : public OPimAccessBackend<OTodo> { | ||
10 | public: | ||
11 | OTodoAccessBackend(); | ||
12 | ~OTodoAccessBackend(); | ||
13 | virtual QArray<int> effectiveToDos( const QDate& start, | ||
14 | const QDate& end, | ||
15 | bool includeNoDates ) = 0; | ||
16 | virtual QArray<int> overDue() = 0; | ||
17 | virtual QArray<int> sorted( bool asc, int sortOrder, int sortFilter, | ||
18 | int cat ) = 0; | ||
19 | virtual void removeAllCompleted() = 0; | ||
20 | virtual QBitArray supports()const = 0; | ||
21 | |||
22 | private: | ||
23 | class Private; | ||
24 | Private *d; | ||
25 | |||
26 | }; | ||
27 | |||
28 | #endif | ||