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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-07-03 22:41:23 UTC
  • mfrom: (1.1.100)
  • Revision ID: package-import@ubuntu.com-20120703224123-90dydkyfyvff8s0s
Tags: 3.5.3.1-0ubuntu1
* New upstream release 3.5.3.1.
* debian/control:
  - Drop libgconf2-dev from Build-Depends.
  - Bump versions for glib, goa, and libsoup in Build-Depends.
  - Add a Build-Depends on libgcr-3-dev (>= 3.4)
  - Rename packages following upstream SONAME changes.
  - Add Depends on libgnome-keyring-dev to libedataserver1.2-dev.
* debian/rules:
  - Update mkshlibs arguments for libcamel-1.2-38 instead of -33; as it was
    renamed in control due to the soname change.
  - Strip out -Bsymbolic-functions from LDFLAGS.
* Renamed install files in debian/:
  - libcamel-1.2-33.install => libcamel-1.2-38.install
  - libebackend-1.2-2.install => libebackend-1.2-4.install
  - libebook-1.2-13.install => libebook-1.2-17.install
  - libecal-1.2-11.install => libecal-1.2-15.install
  - libedata-book-1.2-13.install => libedata-book-1.2-15.install
  - libedata-cal-1.2-15.install => libedata-cal-1.2-18.install
  - libedataserver-1.2-16.install => libedataserver-1.2-17.install
  - libedataserverui-3.0-1.install => libedataserverui-3.0-4.install
* debian/patches/google_tests_fpic.patch: build tests with -fPIC; otherwise
  build fails.

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/camel.h>
27
 
 
28
 
/* Standard GObject macros */
29
 
#define CAMEL_TYPE_IMAPX_SUMMARY \
30
 
        (camel_imapx_summary_get_type ())
31
 
#define CAMEL_IMAPX_SUMMARY(obj) \
32
 
        (G_TYPE_CHECK_INSTANCE_CAST \
33
 
        ((obj), CAMEL_TYPE_IMAPX_SUMMARY, CamelIMAPXSummary))
34
 
#define CAMEL_IMAPX_SUMMARY_CLASS(cls) \
35
 
        (G_TYPE_CHECK_CLASS_CAST \
36
 
        ((cls), CAMEL_TYPE_IMAPX_SUMMARY, CamelIMAPXSummaryClass))
37
 
#define CAMEL_IS_IMAPX_SUMMARY(obj) \
38
 
        (G_TYPE_CHECK_INSTANCE_TYPE \
39
 
        ((obj), CAMEL_TYPE_IMAPX_SUMMARY))
40
 
#define CAMEL_IS_IMAPX_SUMMARY_CLASS(cls) \
41
 
        (G_TYPE_CHECK_CLASS_TYPE \
42
 
        ((cls), CAMEL_TYPE_IMAPX_SUMMARY))
43
 
#define CAMEL_IMAPX_SUMMARY_GET_CLASS(obj) \
44
 
        (G_TYPE_INSTANCE_GET_CLASS \
45
 
        ((obj), CAMEL_TYPE_IMAPX_SUMMARY, CamelIMAPXSummaryClass))
46
 
 
47
 
#define CAMEL_IMAPX_SERVER_FLAGS \
48
 
        (CAMEL_MESSAGE_ANSWERED | CAMEL_MESSAGE_DELETED | \
49
 
         CAMEL_MESSAGE_DRAFT | CAMEL_MESSAGE_FLAGGED | \
50
 
         CAMEL_MESSAGE_JUNK | CAMEL_MESSAGE_NOTJUNK | \
51
 
         CAMEL_MESSAGE_SEEN)
52
 
 
53
 
G_BEGIN_DECLS
54
 
 
55
 
typedef struct _CamelIMAPXSummary CamelIMAPXSummary;
56
 
typedef struct _CamelIMAPXSummaryClass CamelIMAPXSummaryClass;
57
 
 
58
 
typedef struct _CamelIMAPXMessageInfo CamelIMAPXMessageInfo;
59
 
typedef struct _CamelIMAPXMessageContentInfo CamelIMAPXMessageContentInfo;
60
 
 
61
 
struct _CamelIMAPXMessageContentInfo {
62
 
        CamelMessageContentInfo info;
63
 
};
64
 
 
65
 
struct _CamelIMAPXMessageInfo {
66
 
        CamelMessageInfoBase info;
67
 
 
68
 
        guint32 server_flags;
69
 
        CamelFlag *server_user_flags;
70
 
};
71
 
 
72
 
struct _CamelIMAPXSummary {
73
 
        CamelFolderSummary parent;
74
 
 
75
 
        guint32 version;
76
 
        guint32 uidnext;
77
 
        guint64 validity;
78
 
        guint64 modseq;
79
 
};
80
 
 
81
 
struct _CamelIMAPXSummaryClass {
82
 
        CamelFolderSummaryClass parent_class;
83
 
};
84
 
 
85
 
GType           camel_imapx_summary_get_type    (void);
86
 
CamelFolderSummary *
87
 
                camel_imapx_summary_new         (CamelFolder *folder);
88
 
void            camel_imapx_summary_add_offline (CamelFolderSummary *summary,
89
 
                                                 const gchar *uid,
90
 
                                                 CamelMimeMessage *message,
91
 
                                                 const CamelMessageInfo *info);
92
 
void            camel_imapx_summary_add_offline_uncached
93
 
                                                (CamelFolderSummary *summary,
94
 
                                                 const gchar *uid,
95
 
                                                 const CamelMessageInfo *info);
96
 
 
97
 
G_END_DECLS
98
 
 
99
 
#endif /* CAMEL_IMAPX_SUMMARY_H */