aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-backend.h')
-rw-r--r--calendar/cal-backend.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/calendar/cal-backend.h b/calendar/cal-backend.h
index e972cbd59e..aa54a3339d 100644
--- a/calendar/cal-backend.h
+++ b/calendar/cal-backend.h
@@ -27,6 +27,7 @@
#include "evolution-calendar.h"
#include "cal-common.h"
#include "cal.h"
+#include "cal-util.h"
BEGIN_GNOME_DECLS
@@ -39,9 +40,10 @@ BEGIN_GNOME_DECLS
#define IS_CAL_BACKEND(obj) (GTK_CHECK_TYPE ((obj), CAL_BACKEND_TYPE))
#define IS_CAL_BACKEND_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), CAL_BACKEND_TYPE))
+/* Load status values */
typedef enum {
- CAL_BACKEND_LOAD_SUCCESS, /* Loading OK */
- CAL_BACKEND_LOAD_ERROR /* We need better error reporting in libversit */
+ CAL_BACKEND_LOAD_SUCCESS, /* Loading OK */
+ CAL_BACKEND_LOAD_ERROR /* We need better error reporting in libversit */
} CalBackendLoadStatus;
struct _CalBackend {
@@ -68,6 +70,8 @@ CalBackendLoadStatus cal_backend_load (CalBackend *backend, GnomeVFSURI *uri);
char *cal_backend_get_object (CalBackend *backend, const char *uid);
+GList *cal_backend_get_events_in_range (CalBackend *backend, time_t start, time_t end);
+
END_GNOME_DECLS