summaryrefslogtreecommitdiff
path: root/libopie/pim/opimnotifymanager.h
Side-by-side diff
Diffstat (limited to 'libopie/pim/opimnotifymanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/opimnotifymanager.h15
1 files changed, 15 insertions, 0 deletions
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
@@ -24,4 +24,19 @@ public:
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& );