-rw-r--r-- | library/datebookdb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/datebookdb.h b/library/datebookdb.h index aadb397..e4c251c 100644 --- a/library/datebookdb.h +++ b/library/datebookdb.h @@ -43,8 +43,9 @@ public: // USE THESE!!! QValueList<EffectiveEvent> getEffectiveEvents( const QDate &from, const QDate &to ); QValueList<EffectiveEvent> getEffectiveEvents( const QDateTime &start ); + Event getEvent( int uid ); QValueList<Event> getRawRepeats() const; QValueList<Event> getNonRepeatingEvents( const QDate &from, const QDate &to ) const; @@ -77,8 +78,10 @@ private: QValueList<Event> eventList; // non-repeating events... QValueList<Event> repeatEvents; // the repeating events... DateBookDBPrivate *d; QFile journalFile; + + int recordIdMax; // ADDITION }; /* helper functions, also useful to other apps. */ bool nextOccurance( const Event &e, const QDate &from, QDateTime &next); |