aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-service.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-04-21 04:23:48 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-04-21 04:23:48 +0800
commitbba607613cf4ce59fa72e6fe841003e2d71a0aa9 (patch)
tree87617cd42bfe2d2cd8135bd99fc6478494ce46b4 /camel/camel-service.h
parent9fc7c06fc4f7decdf8c753eb5237216eb6902e3b (diff)
downloadgsoc2013-evolution-bba607613cf4ce59fa72e6fe841003e2d71a0aa9.tar
gsoc2013-evolution-bba607613cf4ce59fa72e6fe841003e2d71a0aa9.tar.gz
gsoc2013-evolution-bba607613cf4ce59fa72e6fe841003e2d71a0aa9.tar.bz2
gsoc2013-evolution-bba607613cf4ce59fa72e6fe841003e2d71a0aa9.tar.lz
gsoc2013-evolution-bba607613cf4ce59fa72e6fe841003e2d71a0aa9.tar.xz
gsoc2013-evolution-bba607613cf4ce59fa72e6fe841003e2d71a0aa9.tar.zst
gsoc2013-evolution-bba607613cf4ce59fa72e6fe841003e2d71a0aa9.zip
basic abstract service class.
1999-04-20 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-service.c (camel_service_class_init): basic abstract service class. svn path=/trunk/; revision=860
Diffstat (limited to 'camel/camel-service.h')
-rw-r--r--camel/camel-service.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/camel/camel-service.h b/camel/camel-service.h
index 57449b189c..7c0e74b066 100644
--- a/camel/camel-service.h
+++ b/camel/camel-service.h
@@ -32,7 +32,6 @@ extern "C" {
#endif /* __cplusplus }*/
#include <gtk/gtk.h>
-#include "camel-folder.h"
#define CAMEL_SERVICE_TYPE (camel_service_get_type ())
#define CAMEL_SERVICE(obj) (GTK_CHECK_CAST((obj), CAMEL_SERVICE_TYPE, CamelService))
@@ -42,13 +41,23 @@ extern "C" {
typedef struct {
- GtkObject parent_object;
+ GtkObject parent_object;
+
+ gboolean connected;
+
} CamelService;
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);
+
} CamelServiceClass;