diff options
Diffstat (limited to 'mail/mail-session.h')
-rw-r--r-- | mail/mail-session.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/mail/mail-session.h b/mail/mail-session.h index a2a5e9706f..e98a4bd604 100644 --- a/mail/mail-session.h +++ b/mail/mail-session.h @@ -24,15 +24,12 @@ #define MAIL_SESSION_H #include <glib.h> -#include <bonobo/bonobo-ui-component.h> #include <camel/camel-session.h> +#include <shell/e-shell-module.h> -#ifdef __cplusplus -extern "C" { -#pragma } -#endif /* __cplusplus */ +G_BEGIN_DECLS -void mail_session_init (const char *base_directory); +void mail_session_init (EShellModule *shell_module); void mail_session_shutdown (void); gboolean mail_session_get_interactive (void); void mail_session_set_interactive (gboolean interactive); @@ -42,8 +39,6 @@ gboolean mail_session_accept_dialog (const char *prompt, const char *key, gboolean async); char *mail_session_get_password (const char *url); void mail_session_add_password (const char *url, const char *passwd); -void mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data, - const char *path); void mail_session_remember_password (const char *url); void mail_session_forget_password (const char *key); @@ -57,8 +52,6 @@ void mail_session_set_junk_headers (const char **name, const char **value, int l extern CamelSession *session; -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS -#endif /* ! MAIL_SESSION_H */ +#endif /* MAIL_SESSION_H */ |