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

« back to all changes in this revision

Viewing changes to camel/providers/groupwise/camel-groupwise-store.h

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre, Ken VanDine, Mathieu Trudel-Lapierre
  • Date: 2011-06-23 17:40:41 UTC
  • mfrom: (1.1.88 upstream)
  • Revision ID: james.westby@ubuntu.com-20110623174041-4wd9jvs07wfinyet
Tags: 3.1.2-0ubuntu1
* New upstream version
  - bgo 589495 - Search folder by Size (KB) counts bytes, not KB (LP: #385859)
  - bgo 649757 - Filtering on a source account always succeeded (LP: #781391)
  - bgo 418954 - Add a separate entry combo for port numbers (LP: #160304)

[ Ken VanDine ]
* debian/libebook1.2-dev.install
  - Include EBook-1.2.gir
* debian/control
  - Added gir1.2-ebook-1.2 binary

[ Mathieu Trudel-Lapierre ]
* debian/control: drop libegroupwise1.2-13, libegroupwise-dev, they are now
  an independent module.
* debian/libegroupwise1.2-13.install,
  debian/libegroupwise1.2-dev.install,
  debian/lintian/libegroupwise1.2-13: dropped, see above.
* debian/control, debian/libe*.install, debian/lintian/libe*: rename and
  update files where needed to follow upstream soname changes.
* debian/control: bump evolution-data-server's Depends to libcamel-1.2-26.
* debian/rules: update to use makeshlibs with the new libcamel soname.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
 
/* camel-groupwise-store.h : class for an groupwise store */
3
 
 
4
 
/*
5
 
 * Authors: Sivaiah Nallagatla <snallagatla@novell.com>
6
 
 *
7
 
 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
8
 
 *
9
 
 * This program is free software; you can redistribute it and/or
10
 
 * modify it under the terms of version 2 of the GNU Lesser General Public
11
 
 * License as published by the Free Software Foundation.
12
 
 *
13
 
 * This program is distributed in the hope that it will be useful,
14
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 * GNU Lesser General Public License for more details.
17
 
 *
18
 
 * You should have received a copy of the GNU Lesser General Public License
19
 
 * along with this program; if not, write to the Free Software
20
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
21
 
 * USA
22
 
 */
23
 
 
24
 
#ifndef CAMEL_GROUPWISE_STORE_H
25
 
#define CAMEL_GROUPWISE_STORE_H
26
 
 
27
 
#include <camel/camel.h>
28
 
 
29
 
#include "camel-groupwise-store-summary.h"
30
 
 
31
 
#include <e-gw-connection.h>
32
 
#include <e-gw-container.h>
33
 
 
34
 
/* Standard GObject macros */
35
 
#define CAMEL_TYPE_GROUPWISE_STORE \
36
 
        (camel_groupwise_store_get_type ())
37
 
#define CAMEL_GROUPWISE_STORE(obj) \
38
 
        (G_TYPE_CHECK_INSTANCE_CAST \
39
 
        ((obj), CAMEL_TYPE_GROUPWISE_STORE, CamelGroupwiseStore))
40
 
#define CAMEL_GROUPWISE_STORE_CLASS(cls) \
41
 
        (G_TYPE_CHECK_CLASS_CAST \
42
 
        ((cls), CAMEL_TYPE_GROUPWISE_STORE, CamelGroupwiseStoreClass))
43
 
#define CAMEL_IS_GROUPWISE_STORE(obj) \
44
 
        (G_TYPE_CHECK_INSTANCE_TYPE \
45
 
        ((obj), CAMEL_TYPE_GROUPWISE_STORE))
46
 
#define CAMEL_IS_GROUPWISE_STORE_CLASS(cls) \
47
 
        (G_TYPE_CHECK_CLASS_TYPE \
48
 
        ((cls), CAMEL_TYPE_GROUPWISE_STORE))
49
 
#define CAMEL_GROUPWISE_STORE_GET_CLASS(obj) \
50
 
        (G_TYPE_INSTANCE_GET_CLASS \
51
 
        ((obj), CAMEL_TYPE_GROUPWISE_STORE, CamelGroupwiseStoreClass))
52
 
 
53
 
#define GW_PARAM_FILTER_INBOX           (1 << 0)
54
 
 
55
 
G_BEGIN_DECLS
56
 
 
57
 
typedef struct _CamelGroupwiseStore CamelGroupwiseStore;
58
 
typedef struct _CamelGroupwiseStoreClass CamelGroupwiseStoreClass;
59
 
typedef struct _CamelGroupwiseStorePrivate CamelGroupwiseStorePrivate;
60
 
 
61
 
struct _CamelGroupwiseStore {
62
 
        CamelOfflineStore parent;
63
 
 
64
 
        struct _CamelGroupwiseStoreSummary *summary;
65
 
 
66
 
        gchar *root_container;
67
 
        CamelGroupwiseStorePrivate *priv;
68
 
        CamelFolder *current_folder;
69
 
 
70
 
        /* the parameters field is not to be included not. probably for 2.6*/
71
 
        /*guint32 parameters;*/
72
 
        time_t refresh_stamp;
73
 
};
74
 
 
75
 
struct _CamelGroupwiseStoreClass {
76
 
        CamelOfflineStoreClass parent_class;
77
 
};
78
 
 
79
 
GType           camel_groupwise_store_get_type  (void);
80
 
gchar *         groupwise_get_name              (CamelService *service,
81
 
                                                 gboolean brief);
82
 
const gchar *   camel_groupwise_store_container_id_lookup
83
 
                                                (CamelGroupwiseStore *store,
84
 
                                                 const gchar *folder_name);
85
 
const gchar *   camel_groupwise_store_folder_lookup
86
 
                                                (CamelGroupwiseStore *store,
87
 
                                                 const gchar *container_id);
88
 
EGwConnection * cnc_lookup                      (CamelGroupwiseStorePrivate *priv);
89
 
gchar *         storage_path_lookup             (CamelGroupwiseStorePrivate *priv);
90
 
const gchar *   groupwise_base_url_lookup       (CamelGroupwiseStorePrivate *priv);
91
 
CamelFolderInfo *
92
 
                create_junk_folder              (CamelStore *store);
93
 
gboolean        camel_groupwise_store_connected (CamelGroupwiseStore *store,
94
 
                                                 GCancellable *cancellable,
95
 
                                                 GError **error);
96
 
gboolean        gw_store_reload_folder          (CamelGroupwiseStore *store,
97
 
                                                 CamelFolder *folder,
98
 
                                                 guint32 flags,
99
 
                                                 GCancellable *cancellable,
100
 
                                                 GError **error);
101
 
void            groupwise_store_set_current_folder
102
 
                                                (CamelGroupwiseStore *store,
103
 
                                                 CamelFolder *folder);
104
 
 
105
 
G_END_DECLS
106
 
 
107
 
#endif /* CAMEL_GROUPWISE_STORE_H */