diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-05 12:12:09 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-05 12:12:09 +0800 |
commit | 6d1aea1b231c120441061c2046157b40e34f8e3a (patch) | |
tree | e28bb0e3ea779b19b6d838a3a989ba57aba6324a /shell/e-shell-migrate.h | |
parent | 2c71859895d091f51dea23f9ed9552a0962b7ba4 (diff) | |
download | gsoc2013-evolution-6d1aea1b231c120441061c2046157b40e34f8e3a.tar.gz gsoc2013-evolution-6d1aea1b231c120441061c2046157b40e34f8e3a.tar.zst gsoc2013-evolution-6d1aea1b231c120441061c2046157b40e34f8e3a.zip |
Support migration in the new shell design.
Some code got duplicated for calendars and tasks. Made a note to revisit.
svn path=/branches/kill-bonobo/; revision=36560
Diffstat (limited to 'shell/e-shell-migrate.h')
-rw-r--r-- | shell/e-shell-migrate.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/shell/e-shell-migrate.h b/shell/e-shell-migrate.h new file mode 100644 index 0000000000..315a2904c5 --- /dev/null +++ b/shell/e-shell-migrate.h @@ -0,0 +1,45 @@ +/* + * e-shell-migrate.h + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with the program; if not, see <http://www.gnu.org/licenses/> + * + * + * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) + * + */ + +/* This is an EShell extension that handles migrating from older versions. */ + +#ifndef E_SHELL_MIGRATE_H +#define E_SHELL_MIGRATE_H + +#include <shell/e-shell-common.h> +#include <shell/e-shell.h> + +#define E_SHELL_MIGRATE_ERROR \ + (e_shell_migrate_error_quark ()) + +G_BEGIN_DECLS + +/* XXX Need more specific error codes? */ +typedef enum { + E_SHELL_MIGRATE_ERROR_FAILED +} EShellMigrateError; + +gboolean e_shell_migrate_attempt (EShell *shell); +GQuark e_shell_migrate_error_quark (void); + +G_END_DECLS + +#endif /* E_SHELL_MIGRATE_H */ |