/usr/include/evolution-data-server/libecal/e-cal-client-view.h is in libecal1.2-dev 3.10.4-0ubuntu1.6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | /* Evolution calendar - Live view client object
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*
* Author: Federico Mena-Quintero <federico@ximian.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU Lesser General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if !defined (__LIBECAL_H_INSIDE__) && !defined (LIBECAL_COMPILATION)
#error "Only <libecal/libecal.h> should be included directly."
#endif
#ifndef E_CAL_CLIENT_VIEW_H
#define E_CAL_CLIENT_VIEW_H
#include <glib-object.h>
/* Standard GObject macros */
#define E_TYPE_CAL_CLIENT_VIEW \
(e_cal_client_view_get_type ())
#define E_CAL_CLIENT_VIEW(obj) \
(G_TYPE_CHECK_INSTANCE_CAST \
((obj), E_TYPE_CAL_CLIENT_VIEW, ECalClientView))
#define E_CAL_CLIENT_VIEW_CLASS(cls) \
(G_TYPE_CHECK_CLASS_CAST \
((cls), E_TYPE_CAL_CLIENT_VIEW, ECalClientViewClass))
#define E_IS_CAL_CLIENT_VIEW(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE \
((obj), E_TYPE_CAL_CLIENT_VIEW))
#define E_IS_CAL_CLIENT_VIEW_CLASS(cls) \
(G_TYPE_CHECK_CLASS_TYPE \
((cls), E_TYPE_CAL_CLIENT_VIEW))
#define E_CAL_CLIENT_VIEW_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS \
((obj), E_TYPE_CAL_CLIENT_VIEW, ECalClientViewClass))
G_BEGIN_DECLS
typedef struct _ECalClientView ECalClientView;
typedef struct _ECalClientViewClass ECalClientViewClass;
typedef struct _ECalClientViewPrivate ECalClientViewPrivate;
struct _ECalClient;
/**
* ECalClientViewFlags:
* @E_CAL_CLIENT_VIEW_FLAGS_NONE:
* Symbolic value for no flags
* @E_CAL_CLIENT_VIEW_FLAGS_NOTIFY_INITIAL:
* If this flag is set then all objects matching the view's query will
* be sent as notifications when starting the view, otherwise only future
* changes will be reported. The default for a #ECalClientView is %TRUE.
*
* Flags that control the behaviour of an #ECalClientView.
*
* Since: 3.6
*/
typedef enum {
E_CAL_CLIENT_VIEW_FLAGS_NONE = 0,
E_CAL_CLIENT_VIEW_FLAGS_NOTIFY_INITIAL = (1 << 0)
} ECalClientViewFlags;
/**
* ECalClientView:
*
* Contains only private data that should be read and manipulated using the
* functions below.
*
* Since: 3.2
**/
struct _ECalClientView {
GObject object;
ECalClientViewPrivate *priv;
};
struct _ECalClientViewClass {
GObjectClass parent_class;
/* Signals */
void (*objects_added) (ECalClientView *client_view,
const GSList *objects);
void (*objects_modified) (ECalClientView *client_view,
const GSList *objects);
void (*objects_removed) (ECalClientView *client_view,
const GSList *uids);
void (*progress) (ECalClientView *client_view,
guint percent,
const gchar *message);
void (*complete) (ECalClientView *client_view,
const GError *error);
};
GType e_cal_client_view_get_type (void) G_GNUC_CONST;
struct _ECalClient *
e_cal_client_view_ref_client (ECalClientView *client_view);
GDBusConnection *
e_cal_client_view_get_connection
(ECalClientView *client_view);
const gchar * e_cal_client_view_get_object_path
(ECalClientView *client_view);
gboolean e_cal_client_view_is_running (ECalClientView *client_view);
void e_cal_client_view_set_fields_of_interest
(ECalClientView *client_view,
const GSList *fields_of_interest,
GError **error);
void e_cal_client_view_start (ECalClientView *client_view,
GError **error);
void e_cal_client_view_stop (ECalClientView *client_view,
GError **error);
void e_cal_client_view_set_flags (ECalClientView *client_view,
ECalClientViewFlags flags,
GError **error);
#ifndef EDS_DISABLE_DEPRECATED
struct _ECalClient *
e_cal_client_view_get_client (ECalClientView *client_view);
#endif /* EDS_DISABLE_DEPRECATED */
G_END_DECLS
#endif /* E_CAL_CLIENT_VIEW_H */
|