aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-04-19 04:24:26 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-04-19 04:24:26 +0800
commitcaeedddbe6297eda63b386a8955546b41d6543bf (patch)
treeffe51d1cd4f469ef6bd707d1178a2de94bfb995c /camel/camel-folder.h
parentb6df9d55cb6d3b348c831f4591398a0acc8247d9 (diff)
downloadgsoc2013-evolution-caeedddbe6297eda63b386a8955546b41d6543bf.tar.gz
gsoc2013-evolution-caeedddbe6297eda63b386a8955546b41d6543bf.tar.zst
gsoc2013-evolution-caeedddbe6297eda63b386a8955546b41d6543bf.zip
started implementation typo uncommented the store related code.
1999-04-18 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-store.[ch]: started implementation * camel/camel-folder.c (camel_folder_get_type): typo uncommented the store related code. (camel_folder_create): enable som store relted code. Not finished. Have to define public methods first. * camel/camel-log.h: some explanation about the log system svn path=/trunk/; revision=854
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 12855a054c..b97bf970d9 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -32,7 +32,7 @@ extern "C" {
#endif /* __cplusplus }*/
#include <gtk/gtk.h>
-
+#include "camel-store.h"
#define CAMEL_FOLDER_TYPE (camel_folder_get_type ())
#define CAMEL_FOLDER(obj) (GTK_CHECK_CAST((obj), CAMEL_FOLDER_TYPE, CamelFolder))
@@ -50,8 +50,18 @@ typedef enum {
FOLDER_OPEN_READ_WRITE /* folder is read/write */
} CamelFolderOpenMode;
-
+#ifndef CAMEL_FOLDER_DEF
+#define CAMEL_FOLDER_DEF 1
typedef struct _CamelFolder CamelFolder;
+#endif /* CAMEL_FOLDER_DEF */
+
+#ifndef CAMEL_STORE_DEF
+#define CAMEL_STORE_DEF 1
+typedef struct _CamelStore CamelStore;
+#endif /* CAMEL_STORE_DEF */
+
+
+
struct _CamelFolder
{
@@ -65,8 +75,7 @@ struct _CamelFolder
CamelFolderState open_state;
GString *name;
GString *full_name;
-#warning uncomment when CamelStore is done
- /*CamelStore *parent_store;*/
+ CamelStore *parent_store;
CamelFolder *parent_folder;