diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-17 00:27:12 +0800 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-17 01:10:02 +0800 |
commit | 968ea42023e5e0daf860a7246533311a67f77e05 (patch) | |
tree | b68bd7c80b48c09e332b45c9e3b4ed98fd68efd9 /mail/mail-session.h | |
parent | 3a0a795a167ed33eaa6a9a73b0edeb854aef6f0f (diff) | |
download | gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.tar.gz gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.tar.zst gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.zip |
Kill em_utils_get_data/config_dir(), push down to MailSession
This pushes the get_data_dir() API down to the right level. At present, it is
still implemented by querying the shell backend for the data dir / config dir.
But this should eventually be reversed (when mail is split off to EDS) so that
the mail daemon is the one responsible for the storage locations and the shell
backend queries the daemon for these values.
Diffstat (limited to 'mail/mail-session.h')
-rw-r--r-- | mail/mail-session.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-session.h b/mail/mail-session.h index b1274403c0..ccca89d199 100644 --- a/mail/mail-session.h +++ b/mail/mail-session.h @@ -50,6 +50,9 @@ void mail_session_add_junk_plugin (const gchar *plugin_name, CamelJunkPlugin *ju const GList * mail_session_get_junk_plugins (void); void mail_session_set_junk_headers (const gchar **name, const gchar **value, gint len); +const gchar * mail_session_get_data_dir (void); +const gchar * mail_session_get_config_dir (void); + extern CamelSession *session; G_END_DECLS |