~ubuntu-branches/ubuntu/natty/evolution-data-server/natty

« back to all changes in this revision

Viewing changes to camel/providers/imapx/camel-imapx-summary.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
 
3
 *
 
4
 *  Authors:
 
5
 *    Michael Zucchi <notzed@ximian.com>
 
6
 *    Dan Winship <danw@ximian.com>
 
7
 *
 
8
 * This program is free software; you can redistribute it and/or
 
9
 * modify it under the terms of version 2 of the GNU Lesser General Public
 
10
 * License as published by the Free Software Foundation.
 
11
 *
 
12
 * This program is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
 * General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Lesser General Public
 
18
 * License along with this program; if not, write to the
 
19
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
20
 * Boston, MA 02110-1301, USA.
 
21
 */
 
22
 
 
23
#ifndef _CAMEL_IMAPX_SUMMARY_H
 
24
#define _CAMEL_IMAPX_SUMMARY_H
 
25
 
 
26
//#include "camel-imap-types.h"
 
27
#include <camel/camel-folder-summary.h>
 
28
#include <camel/camel-exception.h>
 
29
 
 
30
#define CAMEL_IMAPX_SUMMARY(obj)         CAMEL_CHECK_CAST (obj, camel_imapx_summary_get_type (), CamelIMAPXSummary)
 
31
#define CAMEL_IMAPX_SUMMARY_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_imapx_summary_get_type (), CamelIMAPXSummaryClass)
 
32
#define CAMEL_IS_IMAPX_SUMMARY(obj)      CAMEL_CHECK_TYPE (obj, camel_imapx_summary_get_type ())
 
33
 
 
34
#define CAMEL_IMAPX_SERVER_FLAGS (CAMEL_MESSAGE_ANSWERED | \
 
35
                                 CAMEL_MESSAGE_DELETED | \
 
36
                                 CAMEL_MESSAGE_DRAFT | \
 
37
                                 CAMEL_MESSAGE_FLAGGED | \
 
38
                                 CAMEL_MESSAGE_SEEN)
 
39
 
 
40
G_BEGIN_DECLS
 
41
 
 
42
typedef struct _CamelIMAPXSummaryClass CamelIMAPXSummaryClass;
 
43
typedef struct _CamelIMAPXSummary CamelIMAPXSummary;
 
44
 
 
45
typedef struct _CamelIMAPXMessageContentInfo {
 
46
        CamelMessageContentInfo info;
 
47
 
 
48
} CamelIMAPXMessageContentInfo;
 
49
 
 
50
typedef struct _CamelIMAPXMessageInfo {
 
51
        CamelMessageInfoBase info;
 
52
 
 
53
        guint32 server_flags;
 
54
        struct _CamelFlag *server_user_flags;
 
55
} CamelIMAPXMessageInfo;
 
56
 
 
57
struct _CamelIMAPXSummary {
 
58
        CamelFolderSummary parent;
 
59
 
 
60
        guint32 version;
 
61
        guint32 validity;
 
62
};
 
63
 
 
64
struct _CamelIMAPXSummaryClass {
 
65
        CamelFolderSummaryClass parent_class;
 
66
 
 
67
};
 
68
 
 
69
CamelType               camel_imapx_summary_get_type     (void);
 
70
CamelFolderSummary *camel_imapx_summary_new          (struct _CamelFolder *folder, const gchar *filename);
 
71
 
 
72
void camel_imapx_summary_add_offline (CamelFolderSummary *summary,
 
73
                                     const gchar *uid,
 
74
                                     CamelMimeMessage *message,
 
75
                                     const CamelMessageInfo *info);
 
76
 
 
77
void camel_imapx_summary_add_offline_uncached (CamelFolderSummary *summary,
 
78
                                              const gchar *uid,
 
79
                                              const CamelMessageInfo *info);
 
80
 
 
81
G_END_DECLS
 
82
 
 
83
#endif /* _CAMEL_IMAPX_SUMMARY_H */