aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-service.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-09-08 03:59:53 +0800
committerDan Winship <danw@src.gnome.org>2000-09-08 03:59:53 +0800
commit1fb4f1bfee3badccac9419a6115aefa34ab8f6b1 (patch)
tree64235cf31c16ccdfffc3abfa52589707dfd08b14 /camel/camel-service.h
parentcb05e36a627060826f332cb3b35129e9af765923 (diff)
downloadgsoc2013-evolution-1fb4f1bfee3badccac9419a6115aefa34ab8f6b1.tar
gsoc2013-evolution-1fb4f1bfee3badccac9419a6115aefa34ab8f6b1.tar.gz
gsoc2013-evolution-1fb4f1bfee3badccac9419a6115aefa34ab8f6b1.tar.bz2
gsoc2013-evolution-1fb4f1bfee3badccac9419a6115aefa34ab8f6b1.tar.lz
gsoc2013-evolution-1fb4f1bfee3badccac9419a6115aefa34ab8f6b1.tar.xz
gsoc2013-evolution-1fb4f1bfee3badccac9419a6115aefa34ab8f6b1.tar.zst
gsoc2013-evolution-1fb4f1bfee3badccac9419a6115aefa34ab8f6b1.zip
Make this take a path to a directory that Camel can use for its own
* camel-session.c (camel_session_new): Make this take a path to a directory that Camel can use for its own nefarious purposes. (camel_session_get_storage_path): New function to return a path that a service can use for its own nefarious sub-purposes. * camel-service.c (camel_service_get_path): New method (and useful default implementation) to get a (relative) pathname corresponding to the service. svn path=/trunk/; revision=5239
Diffstat (limited to 'camel/camel-service.h')
-rw-r--r--camel/camel-service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-service.h b/camel/camel-service.h
index f229c5e559..aa52e31755 100644
--- a/camel/camel-service.h
+++ b/camel/camel-service.h
@@ -75,6 +75,7 @@ typedef struct {
char * (*get_name) (CamelService *service,
gboolean brief);
+ char * (*get_path) (CamelService *service);
} CamelServiceClass;
@@ -121,6 +122,7 @@ gboolean camel_service_disconnect (CamelService *service,
char * camel_service_get_url (CamelService *service);
char * camel_service_get_name (CamelService *service,
gboolean brief);
+char * camel_service_get_path (CamelService *service);
CamelSession * camel_service_get_session (CamelService *service);
CamelProvider * camel_service_get_provider (CamelService *service);
GList * camel_service_query_auth_types (CamelService *service,