aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-service.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-02 07:07:18 +0800
committerDan Winship <danw@src.gnome.org>2000-07-02 07:07:18 +0800
commit98753e92d2b6bb52978c2ac9d38d29b8d2372978 (patch)
tree89bb98c0ad5d252931f0e65c9db1d904c8324d96 /camel/camel-service.h
parent6dabd2bd964e2e6692fa01261104fe4a510a0fa8 (diff)
downloadgsoc2013-evolution-98753e92d2b6bb52978c2ac9d38d29b8d2372978.tar
gsoc2013-evolution-98753e92d2b6bb52978c2ac9d38d29b8d2372978.tar.gz
gsoc2013-evolution-98753e92d2b6bb52978c2ac9d38d29b8d2372978.tar.bz2
gsoc2013-evolution-98753e92d2b6bb52978c2ac9d38d29b8d2372978.tar.lz
gsoc2013-evolution-98753e92d2b6bb52978c2ac9d38d29b8d2372978.tar.xz
gsoc2013-evolution-98753e92d2b6bb52978c2ac9d38d29b8d2372978.tar.zst
gsoc2013-evolution-98753e92d2b6bb52978c2ac9d38d29b8d2372978.zip
New method, to return an end-user-friendly name corresponding to a
* camel-service.c (camel_service_get_name): New method, to return an end-user-friendly name corresponding to a service. (eg, "POP service for danw on trna.helixcode.com"). * providers/imap/camel-imap-store.c, providers/mbox/camel-mbox-store.c, providers/nntp/camel-nntp-store.c, providers/pop3/camel-pop3-store.c, providers/sendmail/camel-sendmail-transport.c, providers/smtp/camel-smtp-transport.c: Implement. svn path=/trunk/; revision=3851
Diffstat (limited to 'camel/camel-service.h')
-rw-r--r--camel/camel-service.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/camel-service.h b/camel/camel-service.h
index 179447661b..a4e69ed6f3 100644
--- a/camel/camel-service.h
+++ b/camel/camel-service.h
@@ -69,6 +69,9 @@ typedef struct {
void (*free_auth_types) (CamelService *service,
GList *authtypes);
+ char * (*get_name) (CamelService *service,
+ gboolean brief);
+
} CamelServiceClass;
@@ -100,6 +103,8 @@ gboolean camel_service_disconnect (CamelService *service,
gboolean camel_service_is_connected (CamelService *service);
char * camel_service_get_url (CamelService *service);
+char * camel_service_get_name (CamelService *service,
+ gboolean brief);
CamelSession * camel_service_get_session (CamelService *service);
GList * camel_service_query_auth_types (CamelService *service,