/usr/include/libical-glib/i-cal-timezone.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 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | /* Generated file (by generator) */
/*
* 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_TIMEZONE_H
#define I_CAL_TIMEZONE_H
#include <libical-glib/i-cal-forward-declarations.h>
#include <libical-glib/i-cal-object.h>
G_BEGIN_DECLS
#define I_CAL_TIMEZONE_TYPE \
(i_cal_timezone_get_type ())
#define I_CAL_TIMEZONE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST \
((obj), I_CAL_TIMEZONE_TYPE, ICalTimezone))
#define I_CAL_TIMEZONE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST \
((klass), I_CAL_TIMEZONE_TYPE, ICalTimezoneClass))
#define I_CAL_IS_TIMEZONE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE \
((obj), I_CAL_TIMEZONE_TYPE))
#define I_CAL_IS_TIMEZONE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE \
((klass), I_CAL_TIMEZONE_TYPE))
/**
* ICalTimezone:
*
* This is the ICalTimezone instance.
*/
/**
* ICalTimezoneClass:
*
* This is the ICalTimezone class.
*/
typedef struct _ICalTimezoneClass ICalTimezoneClass;
struct _ICalTimezone {
/*< private >*/
ICalObject parent;
};
struct _ICalTimezoneClass {
/*< private >*/
ICalObjectClass parent;
};
LIBICAL_ICAL_EXPORT
GType i_cal_timezone_get_type (void);
LIBICAL_ICAL_EXPORT
ICalTimezone * i_cal_timezone_new (void);
LIBICAL_ICAL_EXPORT
ICalTimezone * i_cal_timezone_copy (const ICalTimezone *zone);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_free (ICalTimezone *zone,
gint free_struct);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_set_tzid_prefix (const gchar *new_prefix);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_free_builtin_timezones
(void);
LIBICAL_ICAL_EXPORT
ICalTimezone * i_cal_timezone_get_builtin_timezone
(const gchar *location);
LIBICAL_ICAL_EXPORT
ICalTimezone * i_cal_timezone_get_builtin_timezone_from_offset
(gint offset,
const gchar *tzname);
LIBICAL_ICAL_EXPORT
ICalTimezone * i_cal_timezone_get_builtin_timezone_from_tzid
(const gchar *tzid);
LIBICAL_ICAL_EXPORT
ICalArray * i_cal_timezone_get_builtin_timezones
(void);
LIBICAL_ICAL_EXPORT
ICalTimezone * i_cal_timezone_get_utc_timezone (void);
LIBICAL_ICAL_EXPORT
const gchar * i_cal_timezone_get_tzid (const ICalTimezone *zone);
LIBICAL_ICAL_EXPORT
const gchar * i_cal_timezone_get_location (const ICalTimezone *zone);
LIBICAL_ICAL_EXPORT
const gchar * i_cal_timezone_get_tznames (const ICalTimezone *zone);
LIBICAL_ICAL_EXPORT
gdouble i_cal_timezone_get_latitude (const ICalTimezone *zone);
LIBICAL_ICAL_EXPORT
gdouble i_cal_timezone_get_longitude (const ICalTimezone *zone);
LIBICAL_ICAL_EXPORT
ICalComponent * i_cal_timezone_get_component (const ICalTimezone *zone);
LIBICAL_ICAL_EXPORT
gint i_cal_timezone_set_component (ICalTimezone *zone,
ICalComponent *comp);
LIBICAL_ICAL_EXPORT
const gchar * i_cal_timezone_get_display_name (const ICalTimezone *zone);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_convert_time (ICalTimetype *tt,
ICalTimezone *from_zone,
ICalTimezone *to_zone);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_get_utc_offset (ICalTimezone *zone,
ICalTimetype *tt,
gint *is_daylight);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_get_utc_offset_of_utc_time
(ICalTimezone *zone,
ICalTimetype *tt,
gint *is_daylight);
LIBICAL_ICAL_EXPORT
ICalArray * i_cal_timezone_array_new (void);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_array_append_from_vtimezone
(ICalArray *timezones,
ICalComponent *child);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_array_free (ICalArray *timezones);
LIBICAL_ICAL_EXPORT
void i_cal_time_tiemzone_expand_vtimezone
(ICalComponent *comp,
gint end_year,
ICalArray *changes);
LIBICAL_ICAL_EXPORT
gchar * i_cal_timezone_get_location_from_vtimezone
(ICalComponent *component);
LIBICAL_ICAL_EXPORT
gchar * i_cal_timezone_get_tznames_from_vtimezone
(ICalComponent *component);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_set_zone_directory
(const gchar *path);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_free_zone_directory
(void);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_release_zone_tab (void);
LIBICAL_ICAL_EXPORT
void i_cal_timezone_set_builtin_tzdata
(gint set);
LIBICAL_ICAL_EXPORT
gint i_cal_timezone_get_builtin_tzdata
(void);
LIBICAL_ICAL_EXPORT
gint i_cal_timezone_dump_changes (ICalTimezone *zone,
gint max_year,
FILE *fp);
LIBICAL_ICAL_EXPORT
ICalTimezone * i_cal_timezone_array_element_at (ICalArray *timezones,
guint index);
G_END_DECLS
#endif /* I_CAL_TIMEZONE_H */
|