aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-store.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-04-26 05:58:27 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-04-26 05:58:27 +0800
commitd224d1aaad9aca13a716278df6f81b96e9d58aea (patch)
treeec269e529e97d904e3bae5487c7a1d702f2b2cd2 /camel/camel-store.h
parentf9595bb213b103bf071e97ea2f93886767aa7f64 (diff)
downloadgsoc2013-evolution-d224d1aaad9aca13a716278df6f81b96e9d58aea.tar
gsoc2013-evolution-d224d1aaad9aca13a716278df6f81b96e9d58aea.tar.gz
gsoc2013-evolution-d224d1aaad9aca13a716278df6f81b96e9d58aea.tar.bz2
gsoc2013-evolution-d224d1aaad9aca13a716278df6f81b96e9d58aea.tar.lz
gsoc2013-evolution-d224d1aaad9aca13a716278df6f81b96e9d58aea.tar.xz
gsoc2013-evolution-d224d1aaad9aca13a716278df6f81b96e9d58aea.tar.zst
gsoc2013-evolution-d224d1aaad9aca13a716278df6f81b96e9d58aea.zip
initialize folder object.
1999-04-25 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-session.c (camel_session_get_store_from_provider): initialize folder object. * camel/camel-store.c (init): new method. called by session object at instantiation time. * camel/camel-store.h (struct _CamelStore): new fields : session and url_name svn path=/trunk/; revision=879
Diffstat (limited to 'camel/camel-store.h')
-rw-r--r--camel/camel-store.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h
index 55401577d0..df8409f92e 100644
--- a/camel/camel-store.h
+++ b/camel/camel-store.h
@@ -37,6 +37,7 @@ typedef struct _CamelStore CamelStore;
#include "camel-folder.h"
#include "camel-service.h"
+#include "camel-session.h"
#define CAMEL_STORE_TYPE (camel_store_get_type ())
#define CAMEL_STORE(obj) (GTK_CHECK_CAST((obj), CAMEL_STORE_TYPE, CamelStore))
@@ -48,6 +49,8 @@ struct _CamelStore
{
CamelService parent_object;
+ CamelSession *session;
+ GString *url_name;
gchar separator;
};
@@ -55,7 +58,8 @@ struct _CamelStore
typedef struct {
CamelServiceClass parent_class;
-
+
+ void (*init) (CamelStore *store, CamelSession *session, GString *url_name);
void (*set_separator) (CamelStore *store, gchar sep);
gchar (*get_separator) (CamelStore *store);
CamelFolder * (*get_folder) (CamelStore *store, GString *folder_name);
@@ -70,7 +74,7 @@ typedef struct {
/* Standard Gtk function */
GtkType camel_store_get_type (void);
-CamelStore *camel_store_new(GString *url);
+void camel_store_init(CamelStore *store, CamelSession *session, GString *url_name);
CamelFolder *camel_store_get_folder(CamelStore *store, GString *folder_name);
gchar camel_store_get_separator(CamelStore *store);