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

« back to all changes in this revision

Viewing changes to calendar/libecal/e-cal-view-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
 
/* Evolution calendar - Live search query listener implementation
2
 
 *
3
 
 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
4
 
 *
5
 
 * Author: Federico Mena-Quintero <federico@ximian.com>
6
 
 *
7
 
 * This program is free software; you can redistribute it and/or
8
 
 * modify it under the terms of version 2 of the GNU Lesser General Public
9
 
 * License as published by the Free Software Foundation.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU Lesser General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU Lesser General Public License
17
 
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
 
 */
20
 
 
21
 
#ifndef E_CAL_VIEW_LISTENER_H
22
 
#define E_CAL_VIEW_LISTENER_H
23
 
 
24
 
#include <bonobo/bonobo-object.h>
25
 
#include <libecal/e-cal-types.h>
26
 
 
27
 
#include "Evolution-DataServer-Calendar.h"
28
 
 
29
 
G_BEGIN_DECLS
30
 
 
31
 
#define E_TYPE_CAL_VIEW_LISTENER            (e_cal_view_listener_get_type ())
32
 
#define E_CAL_VIEW_LISTENER(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_CAL_VIEW_LISTENER, ECalViewListener))
33
 
#define E_CAL_VIEW_LISTENER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_CAL_VIEW_LISTENER, ECalViewListenerClass))
34
 
#define E_IS_CAL_VIEW_LISTENER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_CAL_VIEW_LISTENER))
35
 
#define E_IS_CAL_VIEW_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), E_TYPE_CAL_VIEW_LISTENER))
36
 
#define E_CAL_VIEW_LISTENER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), E_TYPE_CAL_VIEW_LISTENER, ECalViewListenerClass))
37
 
 
38
 
typedef struct _ECalViewListener ECalViewListener;
39
 
typedef struct _ECalViewListenerClass ECalViewListenerClass;
40
 
typedef struct _ECalViewListenerPrivate ECalViewListenerPrivate;
41
 
 
42
 
struct _ECalViewListener {
43
 
        BonoboObject xobject;
44
 
 
45
 
        /*< private >*/
46
 
        ECalViewListenerPrivate *priv;
47
 
};
48
 
 
49
 
struct _ECalViewListenerClass {
50
 
        BonoboObjectClass parent_class;
51
 
 
52
 
        POA_GNOME_Evolution_Calendar_CalViewListener__epv epv;
53
 
 
54
 
        void (*objects_added) (ECalViewListener *listener, GList *objects);
55
 
        void (*objects_modified) (ECalViewListener *listener, GList *objects);
56
 
        void (*objects_removed) (ECalViewListener *listener, GList *uids);
57
 
        void (*view_progress) (ECalViewListener *listener, const gchar *message, gint percent);
58
 
        void (*view_done) (ECalViewListener *listener, ECalendarStatus status);
59
 
};
60
 
 
61
 
GType             e_cal_view_listener_get_type (void);
62
 
ECalViewListener *e_cal_view_listener_new      (void);
63
 
 
64
 
G_END_DECLS
65
 
 
66
 
#endif