aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gnome-cal.h')
-rw-r--r--calendar/gui/gnome-cal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h
index a512bbc9b4..20287c202b 100644
--- a/calendar/gui/gnome-cal.h
+++ b/calendar/gui/gnome-cal.h
@@ -95,6 +95,13 @@ void gnome_calendar_set_selected_time_range (GnomeCalendar *gcal,
time_t start_time,
time_t end_time);
+/* Returns the selected time range for the current view. Note that this may be
+ different from the fields in the GnomeCalendar, since the view may clip
+ this or choose a more appropriate time. */
+void gnome_calendar_get_current_time_range (GnomeCalendar *gcal,
+ time_t *start_time,
+ time_t *end_time);
+
/* Flags is a bitmask of CalObjectChange values */
void gnome_calendar_object_changed (GnomeCalendar *gcal,
iCalObject *obj,