From 839775ea257f2c9be752a77c41a09416469df591 Mon Sep 17 00:00:00 2001 From: eilers Date: Fri, 16 Jan 2004 13:37:03 +0000 Subject: Some changes to handle alarms for datebook-sql db.. --- (limited to 'libopie/pim/opimnotifymanager.h') diff --git a/libopie/pim/opimnotifymanager.h b/libopie/pim/opimnotifymanager.h index 48410e7..f3c22f9 100644 --- a/libopie/pim/opimnotifymanager.h +++ b/libopie/pim/opimnotifymanager.h @@ -22,8 +22,23 @@ public: void replace( const OPimNotify& ); Reminders reminders()const; + + /** + * Return + */ Alarms alarms()const; + /** + * Return alarm at DateTime "when". If more than one is registered at this + * DateTime, the first one is returned. + * If none was found, an empty Alarm is returned. + * @param when The date and time of the returned alarm + * @param found Returns true if anything was found. + * @return Returns the found alarm at given DateTime. It is empty if found is false + * (nothing could be found at given date and time) + */ + OPimAlarm alarmAtDateTime( const QDateTime& when, bool& found ) const; + void setAlarms( const Alarms& ); void setReminders( const Reminders& ); -- cgit v0.9.0.2