aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/migration.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-01-16 01:15:19 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-01-16 01:15:19 +0800
commitc1f42ab2b0820cd1b52dc75ab1e7dfdaae6d604c (patch)
tree34fb84945b4a87679325241024f5a8723ca3c881 /calendar/gui/migration.h
parent6dc6126ad803ecb3465a3f429078f36544182900 (diff)
downloadgsoc2013-evolution-c1f42ab2b0820cd1b52dc75ab1e7dfdaae6d604c.tar.gz
gsoc2013-evolution-c1f42ab2b0820cd1b52dc75ab1e7dfdaae6d604c.tar.zst
gsoc2013-evolution-c1f42ab2b0820cd1b52dc75ab1e7dfdaae6d604c.zip
update protos
2004-01-15 JP Rosevear <jpr@ximian.com> * gui/tasks-component.h: update protos * gui/tasks-component.c (impl_finalize): free base dir (impl_upgradeFromVersion): just call migrate_tasks (tasks_component_init): set base dir value (tasks_component_peek_base_directory): accessor (tasks_component_peek_source_list): ditto * gui/migration.c (process_old_dir): look for a source with the name and fallback to creating it (create_calendar_contact_source): create the contacts:// source (create_calendar_sources): use above and create all the necessary sources (create_task_sources): create all the necessary sources (migrate_calendars): do all the migration logic here, upgrade bonobo-conf to gconf (migrate_tasks): ditto * gui/calendar-component.h: update prototypes * gui/calendar-component.c (impl_finalize): free the base directory (impl_upgradeFromVersion): just call migrate_calendars (calendar_component_init): fill in base dir value (calendar_component_peek_base_directory): accessor (calendar_component_peek_source_list): ditto svn path=/trunk/; revision=24248
Diffstat (limited to 'calendar/gui/migration.h')
-rw-r--r--calendar/gui/migration.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/migration.h b/calendar/gui/migration.h
index b217ae97c8..b7047d0898 100644
--- a/calendar/gui/migration.h
+++ b/calendar/gui/migration.h
@@ -24,8 +24,10 @@
#define MIGRATION_H
#include <libedataserver/e-source-group.h>
+#include "calendar-component.h"
+#include "tasks-component.h"
-gboolean migrate_old_calendars (ESourceGroup *source_group);
-gboolean migrate_old_tasks (ESourceGroup *source_group);
+gboolean migrate_calendars (CalendarComponent *component, int major, int minor, int revision);
+gboolean migrate_tasks (TasksComponent *component, int major, int minor, int revision);
#endif