diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-11 06:36:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-11 06:47:29 +0800 |
commit | 10eab2350036e1c36377c93d31472125b3e7c8c7 (patch) | |
tree | 5e33457567b4fddf2f7cd6b795d0ca6e13624099 /shell/e-shell-backend.h | |
parent | 6e7f42e0a60659411f2e10dbf8e84c705f0498a4 (diff) | |
download | gsoc2013-evolution-10eab2350036e1c36377c93d31472125b3e7c8c7.tar.gz gsoc2013-evolution-10eab2350036e1c36377c93d31472125b3e7c8c7.tar.zst gsoc2013-evolution-10eab2350036e1c36377c93d31472125b3e7c8c7.zip |
Implement the shutdown protocol and stub in session management.
The shutdown protocol is modelled after online/offline preparation.
Session management code is copied from libegg. Not yet used.
Diffstat (limited to 'shell/e-shell-backend.h')
-rw-r--r-- | shell/e-shell-backend.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/shell/e-shell-backend.h b/shell/e-shell-backend.h index 0d4e02f9bb..8b7e24034f 100644 --- a/shell/e-shell-backend.h +++ b/shell/e-shell-backend.h @@ -91,14 +91,6 @@ struct _EShellBackend { * corresponding #EShellView subclass. It allows the * backend to delay initialization steps that consume * significant resources until they are actually needed. - * @is_busy: Method for querying whether the backend has operations - * in progress that cannot be cancelled or finished - * immediately. Returning %TRUE prevents the application - * from shutting down. - * @shutdown: Method for notifying the backend to begin shutting - * down. Returning %FALSE indicates there are still - * unfinished operations and the #EShell should check - * back shortly. * @migrate: Method for notifying the backend to migrate data and * settings from the given version. Returns %TRUE if the * migration was successful or if no action was necessary. @@ -119,8 +111,6 @@ struct _EShellBackendClass { /* Methods */ void (*start) (EShellBackend *shell_backend); - gboolean (*is_busy) (EShellBackend *shell_backend); - gboolean (*shutdown) (EShellBackend *shell_backend); gboolean (*migrate) (EShellBackend *shell_backend, gint major, gint minor, @@ -138,8 +128,6 @@ struct _EShell *e_shell_backend_get_shell (EShellBackend *shell_backend); void e_shell_backend_add_activity (EShellBackend *shell_backend, EActivity *activity); void e_shell_backend_start (EShellBackend *shell_backend); -gboolean e_shell_backend_is_busy (EShellBackend *shell_backend); -gboolean e_shell_backend_shutdown (EShellBackend *shell_backend); gboolean e_shell_backend_migrate (EShellBackend *shell_backend, gint major, gint minor, |