From 9a472934f5af84639c43907c169f5ba7eb324a70 Mon Sep 17 00:00:00 2001 From: bertrand Date: Tue, 4 May 1999 18:49:25 +0000 Subject: new method. 1999-05-04 bertrand * camel/camel-service.c (camel_service_get_url): new method. * devel-docs/camel/camel-sections.txt: added function doc references * camel/camel-folder.c (__camel_folder_close): fixed indentation. (camel_folder_expunge): new method. (__camel_folder_close): used expunge flag svn path=/trunk/; revision=890 --- camel/camel-service.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'camel/camel-service.h') diff --git a/camel/camel-service.h b/camel/camel-service.h index 1dc959e4ec..d22f97a6bc 100644 --- a/camel/camel-service.h +++ b/camel/camel-service.h @@ -53,12 +53,12 @@ typedef struct { typedef struct { GtkObjectClass parent_class; - void (*connect) (CamelService *service); - void (*connect_to_with_login_passwd) (CamelService *service, GString *host, GString *login, GString *passwd); - void (*connect_to_with_login_passwd_port) (CamelService *service, GString *host, GString *login, GString *passwd, guint port); - gboolean (*is_connected) (CamelService *service); - void (*set_connected) (CamelService *service, gboolean state); - + void (*connect) (CamelService *service); + void (*connect_to_with_login_passwd) (CamelService *service, GString *host, GString *login, GString *passwd); + void (*connect_to_with_login_passwd_port) (CamelService *service, GString *host, GString *login, GString *passwd, guint port); + gboolean (*is_connected) (CamelService *service); + void (*set_connected) (CamelService *service, gboolean state); + GString * (*get_url) (CamelService *service); } CamelServiceClass; @@ -66,8 +66,11 @@ typedef struct { /* public methods */ -void camel_service_connect(CamelService *service); - +void camel_service_connect (CamelService *service); +gboolean camel_service_is_connected (CamelService *service); +void camel_service_connect_to_with_login_passwd (CamelService *service, GString *host, GString *login, GString *passwd); +void camel_service_connect_to_with_login_passwd_port (CamelService *service, GString *host, GString *login, GString *passwd, guint port); +GString *camel_service_get_url(CamelService *service); /* Standard Gtk function */ GtkType camel_service_get_type (void); -- cgit