/usr/include/libical-glib/i-cal-object.h is in libical-dev 3.0.1-5.
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 | /*
* Copyright (C) 2015 William Yu <williamyu@gnome.org>
*
* This library is free software: you can redistribute it and/or modify it
* under the terms of version 2.1. of the GNU Lesser General Public License
* as published by the Free Software Foundation.
*
* This library 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 library. If not, see <http://www.gnu.org/licenses/>.
*/
#if !defined (__LIBICAL_GLIB_H_INSIDE__) && !defined (LIBICAL_GLIB_COMPILATION)
#error "Only <libical-glib/libical-glib.h> can be included directly."
#endif
#ifndef I_CAL_OBJECT_H
#define I_CAL_OBJECT_H
#include <stdio.h>
#include <glib.h>
#include <glib-object.h>
#include <libical/ical.h>
#include <libical/libical_ical_export.h>
#define I_CAL_TYPE_OBJECT \
(i_cal_object_get_type ())
#define I_CAL_OBJECT(obj) \
(G_TYPE_CHECK_INSTANCE_CAST \
((obj), I_CAL_TYPE_OBJECT, ICalObject))
#define I_CAL_OBJECT_CLASS(cls) \
(G_TYPE_CHECK_CLASS_CAST \
((cls), I_CAL_TYPE_OBJECT, ICalObjectClass))
#define I_CAL_IS_OBJECT(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE \
((obj), I_CAL_TYPE_OBJECT))
#define I_CAL_IS_OBJECT_CLASS(cls) \
(G_TYPE_CHECK_CLASS_TYPE \
((cls), I_CAL_TYPE_OBJECT))
#define I_CAL_OBJECT_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS \
((obj), I_CAL_TYPE_OBJECT, ICalObjectClass))
G_BEGIN_DECLS
/**
* ICalObject:
*
* This is an ICalObject instance struct.
*/
typedef struct _ICalObject ICalObject;
/**
* ICalObjectClass:
*
* This is an ICalObject class struct.
*/
typedef struct _ICalObjectClass ICalObjectClass;
typedef struct _ICalObjectPrivate ICalObjectPrivate;
struct _ICalObject
{
/*< private > */
GObject parent;
ICalObjectPrivate *priv;
};
struct _ICalObjectClass
{
/*< private > */
GObjectClass parent_class;
};
LIBICAL_ICAL_EXPORT GType i_cal_object_get_type(void);
LIBICAL_ICAL_EXPORT void i_cal_object_construct(ICalObject *iobject,
gpointer native,
GDestroyNotify native_destroy_func,
gboolean is_global_memory, GObject *owner);
LIBICAL_ICAL_EXPORT gpointer i_cal_object_get_native(ICalObject *iobject);
LIBICAL_ICAL_EXPORT gpointer i_cal_object_steal_native(ICalObject *iobject);
LIBICAL_ICAL_EXPORT gboolean i_cal_object_get_is_global_memory(ICalObject *iobject);
LIBICAL_ICAL_EXPORT GDestroyNotify i_cal_object_get_native_destroy_func(ICalObject *iobject);
LIBICAL_ICAL_EXPORT void i_cal_object_set_native_destroy_func(ICalObject *iobject,
GDestroyNotify native_destroy_func);
LIBICAL_ICAL_EXPORT void i_cal_object_set_owner(ICalObject *iobject, GObject *owner);
LIBICAL_ICAL_EXPORT GObject *i_cal_object_ref_owner(ICalObject *iobject);
LIBICAL_ICAL_EXPORT void i_cal_object_remove_owner(ICalObject *iobject);
LIBICAL_ICAL_EXPORT void i_cal_object_add_depender(ICalObject *iobject, GObject *depender);
LIBICAL_ICAL_EXPORT void i_cal_object_remove_depender(ICalObject *iobject, GObject *depender);
G_END_DECLS
#endif /* I_CAL_OBJECT_H */
|