~ubuntu-branches/ubuntu/hardy/evolution-data-server/hardy-updates

« back to all changes in this revision

Viewing changes to calendar/backends/google/e-cal-backend-google.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-11-13 10:59:20 UTC
  • mfrom: (1.1.38 upstream)
  • Revision ID: james.westby@ubuntu.com-20071113105920-nb6w14udvgx0ghi3
Tags: 2.21.2-0ubuntu1
* New upstream version:
  Bug Fixes:
  - #318842: Task lists should be sorted (LP: #23912)
  - #345135: Disable SSLv2 compatible HELLO on SSL stream when 
    SSLv2 is disabled
  - #359267: Not all memos are showed in calendar view
  - #430420: Returned size <= 0 is an error
  - #460649: Meeting UI Needs To Show Color Of Selected Calendar Source
  - #487229: Use GKeyFile instead of gnome-config to access stored passwords
  - #488156: Minimize use of the WITH_GNOME_KEYRING macro
  - #492130: ESourceSelector uses pointers to ESource
  - #494304: Fix leak
  Updated Translations
  New in 2.21.1:
  - Support for Google Calendar
  Bug Fixes:
  - #203480: (Novell Bugzilla) Compiler warning fix 
    for usage ofunintialized variable
  - #231178: New symbol 'set-label' defined and added corresponding callback
  - #271777: Keep character's case as user types
  - #417999: Don't use deprecated GTK+ symbols
  - #420167: e-d-s now exits with gnome-session
  - #469657: Better use of GHashTable
  - #474000: Use GLib's Base64 API instead of Camel's
  - #475487: When creating the default contact, print errors to the console
  - #475493: Use G_DEFINE_TYPE
  - #475494: Use G_LOCK instead of a static mutex for clearer code
  - #478404: Reset the id to zero
  - #483301: Remove an unused variable
  - #487270: Fix typo in documentation
  - #488173: Remove __FUNCTION__, which is a gcc-ism
  - #488351: Fix an addressbook error on a fresh install
  Other Contributors:
  - Protect against a NULL subject string. 
* debian/*.preinst:
  - On upgrades from Gutsy, remove the symlinks introduced in Gutsy. They
    break upgrades all over, and current cdbs just symlinks individual files.
* Sync with Debian
* debian/control:
  - evolution-data-server Breaks evolution (<< 2.9), 
    evolution-exchange (<= 2.8.1-0ubuntu1),
    evolution-jescs (<= 2.8.2-0ubuntu3), 
    evolution-scalix (<= 10.0.0.357-0ubuntu6)
  - updated maintainer to desktop team
* debian/rules:
  - don't specify the paths for nspr and nss since the package is built 
    with firefox
  - don't build documentation, it's distributed in the upstream tarball

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
/* 
 
3
 * Authors : 
 
4
 *  Ebby Wiselyn <ebbywiselyn@gmail.com> 
 
5
 *
 
6
 * Copyright 2007, Novell, Inc.
 
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
 
15
 * GNU Lesser 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 library; if not, write to the
 
19
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 
 
20
 * Boston, MA 02110-1301, USA.
 
21
 *
 
22
 */
 
23
 
 
24
#ifndef E_CAL_BACKEND_GOOGLE_H
 
25
#define E_CAL_BACKEND_GOOGLE_H
 
26
 
 
27
#include <libedata-cal/e-cal-backend-sync.h>
 
28
#include <libedata-cal/e-cal-backend-cache.h>
 
29
 
 
30
#include <servers/google/libgdata/gdata-entry.h>
 
31
#include <servers/google/libgdata/gdata-feed.h>
 
32
#include <servers/google/libgdata-google/gdata-google-service.h>
 
33
#include <servers/google/libgdata/gdata-service-iface.h>
 
34
 
 
35
G_BEGIN_DECLS
 
36
 
 
37
#define E_TYPE_CAL_BACKEND_GOOGLE               (e_cal_backend_google_get_type ())
 
38
#define E_CAL_BACKEND_GOOGLE(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_CAL_BACKEND_GOOGLE, ECalBackendGoogle))
 
39
#define E_CAL_BACKEND_GOOGLE_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_CAL_BACKEND_GOOGLE, ECalBackendGoogleClass))
 
40
#define E_IS_CAL_BACKEND_GOOGLE(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_CAL_BACKEND_GOOGLE))
 
41
#define E_IS_CAL_BACKEND_GOOGLE_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), E_TYPE_CAL_BACKEND_GOOGLE))
 
42
 
 
43
typedef struct _ECalBackendGoogle ECalBackendGoogle;
 
44
typedef struct _ECalBackendGoogleClass ECalBackendGoogleClass;
 
45
 
 
46
typedef struct _ECalBackendGooglePrivate ECalBackendGooglePrivate;
 
47
 
 
48
struct _ECalBackendGoogle {
 
49
        ECalBackendSync Backend;
 
50
        
 
51
        /* private data */
 
52
        ECalBackendGooglePrivate *priv;
 
53
};
 
54
 
 
55
struct _ECalBackendGoogleClass {
 
56
        ECalBackendSyncClass parent_class;
 
57
};
 
58
 
 
59
struct _EGoItem {
 
60
        GDataEntry *entry;
 
61
        GDataFeed *feed;
 
62
};
 
63
typedef struct _EGoItem EGoItem;
 
64
 
 
65
GType e_cal_backend_google_get_type (void);
 
66
EGoItem * e_cal_backend_google_get_item (ECalBackendGoogle *cbgo);
 
67
GDataEntry * e_cal_backend_google_get_entry (ECalBackendGoogle *cbgo);
 
68
ECalBackendCache * e_cal_backend_google_get_cache (ECalBackendGoogle *cbgo);
 
69
GDataGoogleService * e_cal_backend_google_get_service (ECalBackendGoogle *cbgo);
 
70
gchar * e_cal_backend_google_get_uri (ECalBackendGoogle *cbgo);
 
71
icaltimezone * e_cal_backend_google_get_default_zone (ECalBackendGoogle *cbgo);
 
72
gboolean e_cal_backend_google_get_mode_changed (ECalBackendGoogle *cbgo);
 
73
gchar * e_cal_backend_google_get_username (ECalBackendGoogle *cbgo);
 
74
gchar * e_cal_backend_google_get_password (ECalBackendGoogle *cbgo);
 
75
gint e_cal_backend_google_get_timeout_id (ECalBackendGoogle *cbgo);
 
76
 
 
77
void e_cal_backend_google_set_entry (ECalBackendGoogle *cbgo, GDataEntry *entry);
 
78
void e_cal_backend_google_set_cache (ECalBackendGoogle *cbgo, ECalBackendCache *cache);
 
79
void e_cal_backend_google_set_item (ECalBackendGoogle *cbgo, EGoItem *item);
 
80
void e_cal_backend_google_set_service (ECalBackendGoogle *cbgo, GDataGoogleService *service);
 
81
void e_cal_backend_google_set_uri (ECalBackendGoogle *cbgo, gchar *uri);
 
82
void e_cal_backend_google_set_item (ECalBackendGoogle *cbgo, EGoItem *item);
 
83
void e_cal_backend_google_set_mode_changed (ECalBackendGoogle *cbgo, gboolean mode_changed);
 
84
void e_cal_backend_google_set_username (ECalBackendGoogle *cbgo, gchar *username);
 
85
void e_cal_backend_google_set_password (ECalBackendGoogle *cbgo, gchar *password);
 
86
void e_cal_backend_google_set_timeout_id (ECalBackendGoogle *cbgo,gint timeout_id);
 
87
 
 
88
G_END_DECLS
 
89
#endif