Diffstat (limited to 'libopie/pim/odatebookaccess.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/odatebookaccess.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/libopie/pim/odatebookaccess.h b/libopie/pim/odatebookaccess.h deleted file mode 100644 index 62196da..0000000 --- a/libopie/pim/odatebookaccess.h +++ b/dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | #ifndef OPIE_DATE_BOOK_ACCESS_H | ||
2 | #define OPIE_DATE_BOOK_ACCESS_H | ||
3 | |||
4 | #include "odatebookaccessbackend.h" | ||
5 | #include "opimaccesstemplate.h" | ||
6 | |||
7 | #include "oevent.h" | ||
8 | |||
9 | /** | ||
10 | * This is the object orientated datebook database. It'll use OBackendFactory | ||
11 | * to query for a backend. | ||
12 | * All access to the datebook should be done via this class. | ||
13 | * Make sure to load and save the datebook this is not part of | ||
14 | * destructing and creating the object | ||
15 | * | ||
16 | * @author Holger Freyther, Stefan Eilers | ||
17 | */ | ||
18 | class ODateBookAccess : public OPimAccessTemplate<OEvent> { | ||
19 | public: | ||
20 | ODateBookAccess( ODateBookAccessBackend* = 0l, enum Access acc = Random ); | ||
21 | ~ODateBookAccess(); | ||
22 | |||
23 | /* return all events */ | ||
24 | List rawEvents()const; | ||
25 | |||
26 | /* return repeating events */ | ||
27 | List rawRepeats()const; | ||
28 | |||
29 | /* return non repeating events */ | ||
30 | List nonRepeats()const; | ||
31 | |||
32 | /* return non repeating events (from,to) */ | ||
33 | OEffectiveEvent::ValueList effectiveEvents( const QDate& from, const QDate& to ) const; | ||
34 | OEffectiveEvent::ValueList effectiveEvents( const QDateTime& start ) const; | ||
35 | OEffectiveEvent::ValueList effectiveNonRepeatingEvents( const QDate& from, const QDate& to ) const; | ||
36 | OEffectiveEvent::ValueList effectiveNonRepeatingEvents( const QDateTime& start ) const; | ||
37 | |||
38 | private: | ||
39 | ODateBookAccessBackend* m_backEnd; | ||
40 | class Private; | ||
41 | Private* d; | ||
42 | }; | ||
43 | |||
44 | #endif | ||