diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-04 07:03:18 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-04 07:03:18 +0800 |
commit | 7cfacb2f84e3189bed138326e788ea09bdb25eb8 (patch) | |
tree | e1665f2aa9e42be1fb00aa2f31ff87f9d7ee5d6a /shell/e-shell.h | |
parent | 08e6ede22adccfa0eb798135113b3e74dae0fa8d (diff) | |
download | gsoc2013-evolution-7cfacb2f84e3189bed138326e788ea09bdb25eb8.tar.gz gsoc2013-evolution-7cfacb2f84e3189bed138326e788ea09bdb25eb8.tar.zst gsoc2013-evolution-7cfacb2f84e3189bed138326e788ea09bdb25eb8.zip |
Initial implementation for the "warning, some connections are still
active" dialog.
svn path=/trunk/; revision=9661
Diffstat (limited to 'shell/e-shell.h')
-rw-r--r-- | shell/e-shell.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/shell/e-shell.h b/shell/e-shell.h index b3226b50d6..674ce24148 100644 --- a/shell/e-shell.h +++ b/shell/e-shell.h @@ -49,6 +49,13 @@ typedef struct _EShellClass EShellClass; #define E_IS_SHELL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_SHELL)) +enum _EShellLineStatus { + E_SHELL_LINE_STATUS_ONLINE, + E_SHELL_LINE_STATUS_GOING_OFFLINE, + E_SHELL_LINE_STATUS_OFFLINE +}; +typedef enum _EShellLineStatus EShellLineStatus; + struct _EShell { BonoboObject parent; @@ -59,6 +66,8 @@ struct _EShellClass { BonoboObjectClass parent_class; void (* no_views_left) (EShell *shell); + + void (* line_status_changed) (EShell *shell, EShellLineStatus status); }; @@ -94,9 +103,11 @@ void e_shell_component_maybe_crashed (EShell *shell, const char *type_name, EShellView *shell_view); -gboolean e_shell_is_offline (EShell *shell); -void e_shell_go_offline (EShell *shell, EShellView *action_view); -void e_shell_go_online (EShell *shell, EShellView *action_view); +EShellLineStatus e_shell_get_line_status (EShell *shell); +void e_shell_go_offline (EShell *shell, + EShellView *action_view); +void e_shell_go_online (EShell *shell, + EShellView *action_view); #ifdef __cplusplus } |