aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-session.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-04-25 19:21:33 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-04-25 19:21:33 +0800
commitf9595bb213b103bf071e97ea2f93886767aa7f64 (patch)
treece3cef62fd99fbc4202f0fef13df729ac688b347 /camel/camel-session.h
parent8fa0292a20436587037ed5b63867563f6c26e3e0 (diff)
downloadgsoc2013-evolution-f9595bb213b103bf071e97ea2f93886767aa7f64.tar.gz
gsoc2013-evolution-f9595bb213b103bf071e97ea2f93886767aa7f64.tar.zst
gsoc2013-evolution-f9595bb213b103bf071e97ea2f93886767aa7f64.zip
new method to set the default provider for a protocol.
1999-04-25 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-session.c (camel_session_set_provider): new method to set the default provider for a protocol. (camel_session_get_store_from_provider): new method to instantiate a folder from a provider. * camel/camel-provider.h: s/GString/gchar/g + typo fix. svn path=/trunk/; revision=878
Diffstat (limited to 'camel/camel-session.h')
-rw-r--r--camel/camel-session.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/camel/camel-session.h b/camel/camel-session.h
index 2b6e40ae40..d6242182cd 100644
--- a/camel/camel-session.h
+++ b/camel/camel-session.h
@@ -32,7 +32,7 @@ extern "C" {
#endif /* __cplusplus }*/
#include <gtk/gtk.h>
-
+#include "camel-provider.h"
#define CAMEL_SESSION_TYPE (camel_session_get_type ())
#define CAMEL_SESSION(obj) (GTK_CHECK_CAST((obj), CAMEL_SESSION_TYPE, CamelSession))
@@ -46,6 +46,9 @@ typedef struct _CamelSession CamelSession;
struct _CamelSession
{
GtkObject parent_object;
+ GHashTable *store_provider_list; /* providers are identified by their protocol */
+ GHashTable *transport_provider_list;
+
};
@@ -53,7 +56,7 @@ struct _CamelSession
typedef struct {
GtkObjectClass parent_class;
-
+
/* Virtual methods */
} CamelSessionClass;
@@ -66,6 +69,7 @@ GtkType camel_session_get_type (void);
+void camel_session_set_provider (CamelSession *session, CamelProvider *provider);
#ifdef __cplusplus