aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-backend.h
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-19 01:50:29 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-19 02:46:33 +0800
commitb8ea5c8e6f4ac1f86191b4d2b3af246d9c7a5fe0 (patch)
tree6039be12350220797138f58c60fc07d587a14f15 /shell/e-shell-backend.h
parent10590768038b2f3172040da50533ca4f7802fc34 (diff)
downloadgsoc2013-evolution-b8ea5c8e6f4ac1f86191b4d2b3af246d9c7a5fe0.tar
gsoc2013-evolution-b8ea5c8e6f4ac1f86191b4d2b3af246d9c7a5fe0.tar.gz
gsoc2013-evolution-b8ea5c8e6f4ac1f86191b4d2b3af246d9c7a5fe0.tar.bz2
gsoc2013-evolution-b8ea5c8e6f4ac1f86191b4d2b3af246d9c7a5fe0.tar.lz
gsoc2013-evolution-b8ea5c8e6f4ac1f86191b4d2b3af246d9c7a5fe0.tar.xz
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.h2
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);