~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to src/offline-listener.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
 
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
 
/* server-interface-check.h
3
 
 *
4
 
 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or
7
 
 * modify it under the terms of version 2 of the GNU Lesser General Public
8
 
 * License as published by the Free Software Foundation.
9
 
 *
10
 
 * This program is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 
 * General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU Lesser General Public
16
 
 * License along with this program; if not, write to the
17
 
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
 
 * Boston, MA 02110-1301, USA.
19
 
 *
20
 
 * Author: Sivaiah Nallagatla <snallagatla@novell.com>
21
 
 */
22
 
 
23
 
#ifndef _OFFLINE_LISTNER_H_
24
 
#define _OFFLINE_LISTNER_H_
25
 
 
26
 
#ifdef HAVE_CONFIG_H
27
 
#include <config.h>
28
 
#endif
29
 
 
30
 
#include <glib-object.h>
31
 
#include <libedata-book/e-data-book-factory.h>
32
 
#if ENABLE_CALENDAR
33
 
#include <libedata-cal/e-data-cal-factory.h>
34
 
#endif
35
 
 
36
 
G_BEGIN_DECLS
37
 
 
38
 
#define OFFLINE_TYPE_LISTENER                   (offline_listener_get_type ())
39
 
#define OFFLINE_LISTENER(obj)                   ((G_TYPE_CHECK_INSTANCE_CAST((obj), OFFLINE_TYPE_LISTENER, OfflineListener)))
40
 
#define OFFLINE_LISTENER_CLASS(klass)           (G_TYPE_CHECK_CLASS_CAST((klass), OFFLINE_TYPE_LISTENER, OfflineListenerClass))
41
 
#define OFFLINE_IS_LISTENER(obj)                (G_TYPE_CHECK_INSTANCE_TYPE ((obj), OFFLINE_TYPE_LISTENER))
42
 
#define OFFLINE_IS_LISTENER_CLASS(klass)        (G_TYPE_CHECK_CLASS_TYPE ((obj), OFFLINE_TYPE_LISTENER))
43
 
 
44
 
typedef struct _OfflineListener        OfflineListener;
45
 
typedef struct _OfflineListenerPrivate  OfflineListenerPrivate;
46
 
typedef struct _OfflineListenerClass   OfflineListenerClass;
47
 
 
48
 
struct _OfflineListener {
49
 
        GObject parent;
50
 
        OfflineListenerPrivate *priv;
51
 
 
52
 
};
53
 
 
54
 
struct _OfflineListenerClass {
55
 
        GObjectClass  parent_class;
56
 
 
57
 
};
58
 
 
59
 
GType offline_listener_get_type  (void);
60
 
 
61
 
#if ENABLE_CALENDAR
62
 
OfflineListener  *offline_listener_new (EDataBookFactory *book_factory, EDataCalFactory *cal_factory);
63
 
#else
64
 
OfflineListener  *offline_listener_new (EDataBookFactory *book_factory);
65
 
#endif
66
 
 
67
 
G_END_DECLS
68
 
 
69
 
#endif /* _OFFLINE_LISTNER_H_ */