aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-folder.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-11 04:19:45 +0800
committerDan Winship <danw@src.gnome.org>2001-01-11 04:19:45 +0800
commite1ffe7ed975b20ef6896b3cd41b72199a8aac214 (patch)
tree87dc069dc9e4e6713d241979b86a9aaa180eb5a6 /camel/providers/imap/camel-imap-folder.h
parenta1ca83afd9f3fa742d9f2c07b990b576d3867668 (diff)
downloadgsoc2013-evolution-e1ffe7ed975b20ef6896b3cd41b72199a8aac214.tar.gz
gsoc2013-evolution-e1ffe7ed975b20ef6896b3cd41b72199a8aac214.tar.zst
gsoc2013-evolution-e1ffe7ed975b20ef6896b3cd41b72199a8aac214.zip
New header to prevent recursive #include problems
* providers/imap/camel-imap-types.h: New header to prevent recursive #include problems * providers/imap/*.h: Replace some #includes with #include "camel-imap-types.h", remove typedefs that were moved to camel-imap-types.h * providers/imap/*.c: Add #includes to make up for #includes removed from .h files * providers/imap/Makefile.am (libcamelimapinclude_HEADERS): Add camel-imap-types.h svn path=/trunk/; revision=7367
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.h')
-rw-r--r--camel/providers/imap/camel-imap-folder.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-folder.h b/camel/providers/imap/camel-imap-folder.h
index cf237f155e..6863782c8a 100644
--- a/camel/providers/imap/camel-imap-folder.h
+++ b/camel/providers/imap/camel-imap-folder.h
@@ -33,6 +33,7 @@ extern "C" {
#pragma }
#endif /* __cplusplus }*/
+#include "camel-imap-types.h"
#include "camel-folder.h"
#include <camel/camel-folder-search.h>
@@ -41,13 +42,13 @@ extern "C" {
#define CAMEL_IMAP_FOLDER_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_IMAP_FOLDER_TYPE, CamelImapFolderClass))
#define CAMEL_IS_IMAP_FOLDER(o) (CAMEL_CHECK_TYPE((o), CAMEL_IMAP_FOLDER_TYPE))
-typedef struct {
+struct _CamelImapFolder {
CamelFolder parent_object;
struct _CamelImapFolderPrivate *priv;
CamelFolderSearch *search;
-} CamelImapFolder;
+};
typedef struct {