diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-10-23 05:48:49 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-10-23 05:48:49 +0800 |
commit | dc6bea5487edfaa18776380317d3a1af9181ea4f (patch) | |
tree | 6f0bc751470f4338805b6a3618c52b51ae10e291 /shell/e-shell.h | |
parent | e4276a136b6289744082c0c1f42e2d49c9e2826c (diff) | |
download | gsoc2013-evolution-dc6bea5487edfaa18776380317d3a1af9181ea4f.tar.gz gsoc2013-evolution-dc6bea5487edfaa18776380317d3a1af9181ea4f.tar.zst gsoc2013-evolution-dc6bea5487edfaa18776380317d3a1af9181ea4f.zip |
New member "component_registry". (e_shell_construct): Don't call
* e-shell.c (struct _EShellPrivate): New member
"component_registry".
(e_shell_construct): Don't call e_shell_unregister_all().
(e_shell_unregister_all): Removed.
(e_shell_init): Use g_new0(), removed a bunch of NULL/FALSE
assignments.
(e_shell_init): Initialize the component_registry.
(e_shell_peek_uri_schema_registry): Rename from
e_shell_get_uri_schema_registry.
(e_shell_peek_component_registry): New.
(setup_components): Remove.
(e_shell_construct): Don't call.
* main.c (no_windows_left_cb): Don't call e_shell_unregister_all().
* e-shell.c (parse_default_uri): Removed.
(parse_evolution_uri): Removed.
(e_shell_parse_uri): Removed.
* e-component-info.c: Remove.
* e-component-info.h: Remove.
svn path=/trunk/; revision=23017
Diffstat (limited to 'shell/e-shell.h')
-rw-r--r-- | shell/e-shell.h | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/shell/e-shell.h b/shell/e-shell.h index 1d17581067..a25ef1a168 100644 --- a/shell/e-shell.h +++ b/shell/e-shell.h @@ -37,9 +37,10 @@ typedef struct _EShellClass EShellClass; #include "Evolution.h" +#include "e-component-registry.h" #include "e-shell-user-creatable-items-handler.h" -#include "e-uri-schema-registry.h" #include "e-shell-window.h" +#include "e-uri-schema-registry.h" #define E_TYPE_SHELL (e_shell_get_type ()) @@ -106,13 +107,11 @@ gboolean e_shell_request_close_window (EShell *shell, EShellWindow *window); -EUriSchemaRegistry *e_shell_get_uri_schema_registry (EShell *shell); - -gboolean e_shell_save_settings (EShell *shell); +EUriSchemaRegistry *e_shell_peek_uri_schema_registry (EShell *shell); +EComponentRegistry *e_shell_peek_component_registry (EShell *shell); -void e_shell_close_all_windows (EShell *shell); - -void e_shell_unregister_all (EShell *shell); +gboolean e_shell_save_settings (EShell *shell); +void e_shell_close_all_windows (EShell *shell); EShellLineStatus e_shell_get_line_status (EShell *shell); void e_shell_go_offline (EShell *shell, @@ -120,23 +119,17 @@ void e_shell_go_offline (EShell *shell, void e_shell_go_online (EShell *shell, EShellWindow *action_window); -void e_shell_show_settings (EShell *shell, - const char *type, - EShellWindow *shell_window); +void e_shell_show_settings (EShell *shell, + const char *type, + EShellWindow *shell_window); EShellUserCreatableItemsHandler *e_shell_get_user_creatable_items_handler (EShell *shell); gboolean e_shell_prepare_for_quit (EShell *shell); - const char *e_shell_construct_result_to_string (EShellConstructResult result); -gboolean e_shell_parse_uri (EShell *shell, - const char *uri, - char **path_return, - char **extra_return); - #ifdef __cplusplus } #endif /* __cplusplus */ |