aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-service.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-service.h')
-rw-r--r--camel/camel-service.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/camel/camel-service.h b/camel/camel-service.h
index 728db6c4ce..aeb71c933d 100644
--- a/camel/camel-service.h
+++ b/camel/camel-service.h
@@ -59,14 +59,18 @@ struct _CamelService {
typedef struct {
CamelObjectClass parent_class;
+ void (*construct) (CamelService *service,
+ CamelSession *session,
+ CamelProvider *provider,
+ CamelURL *url,
+ CamelException *ex);
+
gboolean (*connect) (CamelService *service,
CamelException *ex);
gboolean (*disconnect) (CamelService *service,
gboolean clean,
CamelException *ex);
- /*gboolean (*is_connected) (CamelService *service);*/
-
GList * (*query_auth_types) (CamelService *service,
gboolean connect,
CamelException *ex);
@@ -88,7 +92,7 @@ typedef struct {
/* public methods */
-CamelService * camel_service_new (CamelType type,
+void camel_service_construct (CamelService *service,
CamelSession *session,
CamelProvider *provider,
CamelURL *url,