aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-config-upgrade.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-01-14 02:51:54 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-01-14 02:51:54 +0800
commitf17f36a31ed398d797cf96a9029efaaf83485f43 (patch)
tree161eef5dfb4069fae3bfbf796cc9b6b4432bf065 /shell/e-config-upgrade.h
parent39e6fc90623f50b7cd28850b8a0463d37e09a758 (diff)
downloadgsoc2013-evolution-f17f36a31ed398d797cf96a9029efaaf83485f43.tar.gz
gsoc2013-evolution-f17f36a31ed398d797cf96a9029efaaf83485f43.tar.zst
gsoc2013-evolution-f17f36a31ed398d797cf96a9029efaaf83485f43.zip
detect the version more completely with the new util routine (main): don't
2004-01-13 JP Rosevear <jpr@ximian.com> * main.c (attempt_upgrade): detect the version more completely with the new util routine (main): don't upgrade the config db here * e-shell.h: update proto * e-shell.c (e_shell_attempt_upgrade): take the current version as numerical params * e-config-upgrade.h: update prototypes * e-config-upgrade.c (e_config_upgrade): remove version detection and saving code (e_upgrade_detect_version): routine to do the version detection * e-config-upgrade.c: drop my-evolution upgrade code svn path=/trunk/; revision=24205
Diffstat (limited to 'shell/e-config-upgrade.h')
-rw-r--r--shell/e-config-upgrade.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-config-upgrade.h b/shell/e-config-upgrade.h
index c012e30526..f52801ce07 100644
--- a/shell/e-config-upgrade.h
+++ b/shell/e-config-upgrade.h
@@ -23,6 +23,8 @@
#ifndef _E_CONFIG_UPGRADE_H
#define _E_CONFIG_UPGRADE_H
-int e_config_upgrade(const char *edir);
+gboolean e_upgrade_detect_version (int *major, int *minor, int *revision);
+
+int e_config_upgrade(int major, int minor, int revision);
#endif /* _E_CONFIG_UPGRADE_H */