diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-19 01:50:29 +0800 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-19 02:46:33 +0800 |
commit | b8ea5c8e6f4ac1f86191b4d2b3af246d9c7a5fe0 (patch) | |
tree | 6039be12350220797138f58c60fc07d587a14f15 /shell/e-shell-backend.h | |
parent | 10590768038b2f3172040da50533ca4f7802fc34 (diff) | |
download | gsoc2013-evolution-b8ea5c8e6f4ac1f86191b4d2b3af246d9c7a5fe0.tar.gz gsoc2013-evolution-b8ea5c8e6f4ac1f86191b4d2b3af246d9c7a5fe0.tar.zst gsoc2013-evolution-b8ea5c8e6f4ac1f86191b4d2b3af246d9c7a5fe0.zip |
Add get_data_dir(), get_config_dir() vfuncs to EShellBackend
This allows modules to specify their own data dir in a flexible way without
having them hard-coded to the backend class name. For example, the data dir for
the mail backend should be specified by the mail session (eventually as an eds
daemon) and the vfunc will allow the shell to query that in a generic way.
Diffstat (limited to 'shell/e-shell-backend.h')
-rw-r--r-- | shell/e-shell-backend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-shell-backend.h b/shell/e-shell-backend.h index 7b56865e4a..cda014e5a9 100644 --- a/shell/e-shell-backend.h +++ b/shell/e-shell-backend.h @@ -117,6 +117,8 @@ struct _EShellBackendClass { gint minor, gint micro, GError **error); + const gchar * (*get_config_dir) (EShellBackend *shell_backend); + const gchar * (*get_data_dir) (EShellBackend *shell_backend); }; GType e_shell_backend_get_type (void); |