/usr/share/vala/vapi/libecalendar-1.2.vapi is in libecal1.2-dev 3.2.3-0ubuntu6.
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 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 | /* libecalendar-1.2.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "E", gir_namespace = "ECalendar", gir_version = "1.2", lower_case_cprefix = "e_")]
namespace E {
[CCode (cheader_filename = "libecal/e-cal.h", type_id = "e_cal_get_type ()")]
public class Cal : GLib.Object {
[CCode (has_construct_function = false)]
[Deprecated (since = "3.2")]
public Cal (E.Source source, E.CalSourceType type);
[Deprecated (since = "3.2")]
public bool discard_alarm (E.CalComponent comp, string auid) throws GLib.Error;
[CCode (has_construct_function = false)]
[Deprecated (since = "3.2")]
public Cal.from_uri (string uri, E.CalSourceType type);
[Deprecated (since = "3.2")]
public bool get_alarm_email_address (string alarm_address) throws GLib.Error;
[Deprecated (since = "3.2")]
public bool get_alarms_for_object (E.CalComponentId id, long start, long end, E.CalComponentAlarms alarms);
[Deprecated (since = "3.2")]
public bool get_cal_address (string cal_address) throws GLib.Error;
[Deprecated (since = "3.2")]
public static unowned string get_error_message (E.CalendarStatus status);
[Deprecated (since = "3.2")]
public bool get_ldap_attribute (string ldap_attribute) throws GLib.Error;
[Deprecated (since = "3.2")]
public E.CalLoadState get_load_state ();
[Deprecated (since = "3.2")]
public unowned string get_local_attachment_store ();
[Deprecated (since = "3.2")]
public bool get_object_list (string query, out GLib.List<long> objects) throws GLib.Error;
[Deprecated (since = "3.2")]
public bool get_one_alarm_only ();
public bool get_organizer_must_accept ();
[Deprecated (since = "3.2")]
public bool get_organizer_must_attend ();
[Deprecated (since = "3.2")]
public bool get_query (string sexp, out E.CalView query) throws GLib.Error;
[Deprecated (since = "3.2")]
public bool get_recurrences_no_master ();
[Deprecated (since = "3.2")]
public bool get_refresh_supported ();
[Deprecated (since = "3.2")]
public bool get_save_schedules ();
[Deprecated (since = "3.2")]
public E.CalSourceType get_source_type ();
[Deprecated (since = "3.2")]
public static bool get_sources (E.SourceList sources, E.CalSourceType type) throws GLib.Error;
[Deprecated (since = "3.2")]
public bool get_static_capability (string cap);
[Deprecated (since = "3.2")]
public unowned string get_uri ();
[Deprecated (since = "3.2")]
public bool is_read_only (bool read_only) throws GLib.Error;
public static void marshal_VOID__ENUM_ENUM (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
public static void marshal_VOID__STRING_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
public static void marshal_VOID__UINT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
public static unowned string match_tzid (string tzid);
[Deprecated (since = "3.2")]
public bool open (bool only_if_exists) throws GLib.Error;
[Deprecated (since = "3.2")]
public void open_async (bool only_if_exists);
[Deprecated (since = "3.2")]
public bool refresh () throws GLib.Error;
[Deprecated (since = "3.2")]
public bool remove () throws GLib.Error;
[Deprecated (since = "3.2")]
public bool remove_object (string uid) throws GLib.Error;
[Deprecated (since = "3.2")]
public bool set_default () throws GLib.Error;
[Deprecated (since = "3.2")]
public static bool set_default_source (E.Source source, E.CalSourceType type) throws GLib.Error;
[CCode (has_construct_function = false)]
[Deprecated (since = "3.2")]
public Cal.system_calendar ();
[CCode (has_construct_function = false)]
[Deprecated (since = "3.2")]
public Cal.system_memos ();
[CCode (has_construct_function = false)]
[Deprecated (since = "3.2")]
public Cal.system_tasks ();
public static string system_timezone_get_location ();
public static string util_get_system_timezone_location ();
public static int util_priority_from_string (string string);
public static unowned string util_priority_to_string (int priority);
public virtual signal void backend_died ();
public virtual signal void backend_error (string message);
public virtual signal void cal_opened (int status);
public virtual signal void cal_opened_ex (long error);
}
[CCode (cheader_filename = "libecal/e-cal.h", type_id = "e_cal_client_get_type ()")]
public class CalClient : E.Client {
[CCode (has_construct_function = false)]
public CalClient (E.Source source, E.CalClientSourceType source_type) throws GLib.Error;
public bool add_timezone_finish (GLib.AsyncResult result) throws GLib.Error;
public bool check_one_alarm_only ();
public bool check_organizer_must_accept ();
public bool check_organizer_must_attend ();
public bool check_recurrences_no_master ();
public bool check_save_schedules ();
public bool create_object_finish (GLib.AsyncResult result, out string uid) throws GLib.Error;
[CCode (has_construct_function = false)]
public CalClient.@default (E.CalClientSourceType source_type) throws GLib.Error;
public async bool discard_alarm (string uid, string rid, string auid, GLib.Cancellable? cancellable) throws GLib.Error;
public bool discard_alarm_sync (string uid, string rid, string auid, GLib.Cancellable? cancellable) throws GLib.Error;
public static GLib.Error error_create (E.CalClientError code, string custom_msg);
public static GLib.Quark error_quark ();
public static unowned string error_to_string (E.CalClientError code);
[CCode (has_construct_function = false)]
public CalClient.from_uri (string uri, E.CalClientSourceType source_type) throws GLib.Error;
public void generate_instances (long start, long end, GLib.Cancellable? cancellable, owned E.CalRecurInstanceFn cb);
public async void get_attachment_uris (string uid, string rid, GLib.Cancellable? cancellable);
public async void get_default_object (GLib.Cancellable? cancellable);
public bool get_free_busy_finish (GLib.AsyncResult result) throws GLib.Error;
public unowned string get_local_attachment_store ();
public async void get_object (string uid, string rid, GLib.Cancellable? cancellable);
public async void get_object_list (string sexp, GLib.Cancellable? cancellable);
public async void get_object_list_as_comps (string sexp, GLib.Cancellable? cancellable);
public async void get_objects_for_uid (string uid, GLib.Cancellable? cancellable);
public E.CalClientSourceType get_source_type ();
public static bool get_sources (out E.SourceList sources, E.CalClientSourceType source_type) throws GLib.Error;
public async void get_timezone (string tzid, GLib.Cancellable? cancellable);
public async bool get_view (string sexp, GLib.Cancellable? cancellable) throws GLib.Error;
public bool get_view_sync (string sexp, E.CalClientView view, GLib.Cancellable? cancellable) throws GLib.Error;
public bool modify_object_finish (GLib.AsyncResult result) throws GLib.Error;
public bool receive_objects_finish (GLib.AsyncResult result) throws GLib.Error;
public bool remove_object_finish (GLib.AsyncResult result) throws GLib.Error;
public bool set_default () throws GLib.Error;
public static bool set_default_source (E.Source source, E.CalClientSourceType source_type) throws GLib.Error;
[CCode (has_construct_function = false)]
public CalClient.system (E.CalClientSourceType source_type) throws GLib.Error;
public signal void free_busy_data (void* object);
}
[CCode (cheader_filename = "libecal/e-cal.h", type_id = "e_cal_client_view_get_type ()")]
public class CalClientView : GLib.Object {
[CCode (has_construct_function = false)]
protected CalClientView ();
public bool is_running ();
public void start () throws GLib.Error;
public void stop () throws GLib.Error;
[NoAccessorMethod]
public E.CalClient client { owned get; construct; }
[NoAccessorMethod]
public void* view { get; construct; }
public virtual signal void complete (GLib.Error error);
public signal void objects_added (GLib.SList<long> objects);
public signal void objects_modified (GLib.SList<long> objects);
public signal void objects_removed (GLib.SList<E.CalComponentId> objects);
public virtual signal void progress (uint percent, string message);
}
[CCode (cheader_filename = "libecal/e-cal.h", type_id = "e_cal_component_get_type ()")]
public class CalComponent : GLib.Object {
[CCode (has_construct_function = false)]
public CalComponent ();
public void abort_sequence ();
public void add_alarm (E.CalComponentAlarm alarm);
public void commit_sequence ();
public bool event_dates_match (E.CalComponent comp2);
public static void free_datetime (E.CalComponentDateTime dt);
public static void free_geo (void* geo);
public static void free_icaltimetype (void* t);
public static void free_id (E.CalComponentId id);
public static void free_percent (int percent);
public static void free_priority (int priority);
public static void free_range (E.CalComponentRange range);
public static void free_sequence (int sequence);
[CCode (has_construct_function = false)]
public CalComponent.from_string (string calobj);
public static string gen_uid ();
public string get_as_string ();
public void get_categories (string categories);
public void get_classification (E.CalComponentClassification classif);
public void get_completed (void* t);
public void get_created (void* t);
public void get_dtend (E.CalComponentDateTime dt);
public void get_dtstamp (void* t);
public void get_dtstart (E.CalComponentDateTime dt);
public void get_due (E.CalComponentDateTime dt);
public void get_geo (void* geo);
public void get_last_modified (void* t);
public void get_location (string location);
public int get_num_attachments ();
public void get_organizer (E.CalComponentOrganizer organizer);
public void get_percent (int percent);
public int get_percent_as_int ();
public void get_priority (int priority);
public void get_recurid (E.CalComponentRange recur_id);
public string get_recurid_as_string ();
public void get_sequence (int sequence);
public void get_summary (E.CalComponentText summary);
public void get_transparency (E.CalComponentTransparency transp);
public void get_uid (string uid);
public void get_url (string url);
public E.CalComponentVType get_vtype ();
public bool has_alarms ();
public bool has_attachments ();
public bool has_attendees ();
public bool has_exceptions ();
public bool has_exdates ();
public bool has_exrules ();
public bool has_organizer ();
public bool has_rdates ();
public bool has_recurrences ();
public bool has_rrules ();
public bool has_simple_recurrence ();
public bool is_instance ();
public void remove_alarm (string auid);
public void remove_all_alarms ();
public void rescan ();
public void set_categories (string categories);
public void set_classification (E.CalComponentClassification classif);
public void set_completed (void* t);
public void set_created (void* t);
public void set_dtend (E.CalComponentDateTime dt);
public void set_dtstamp (void* t);
public void set_dtstart (E.CalComponentDateTime dt);
public void set_due (E.CalComponentDateTime dt);
public void set_geo (void* geo);
public bool set_icalcomponent (long icalcomp);
public void set_last_modified (void* t);
public void set_location (string location);
public void set_new_vtype (E.CalComponentVType type);
public void set_organizer (E.CalComponentOrganizer organizer);
public void set_percent (int percent);
public void set_percent_as_int (int percent);
public void set_priority (int priority);
public void set_recurid (E.CalComponentRange recur_id);
public void set_sequence (int sequence);
public void set_summary (E.CalComponentText summary);
public void set_transparency (E.CalComponentTransparency transp);
public void set_uid (string uid);
public void set_url (string url);
public void strip_errors ();
}
[CCode (cheader_filename = "libecal/e-cal.h")]
[Compact]
public class CalComponentAlarm {
public void free ();
public void get_action (E.CalComponentAlarmAction action);
public void get_description (E.CalComponentText description);
public void get_repeat (E.CalComponentAlarmRepeat repeat);
public void get_trigger (E.CalComponentAlarmTrigger trigger);
public unowned string get_uid ();
public bool has_attendees ();
public void set_action (E.CalComponentAlarmAction action);
public void set_description (E.CalComponentText description);
public void set_repeat (E.CalComponentAlarmRepeat repeat);
public void set_trigger (E.CalComponentAlarmTrigger trigger);
}
[CCode (cheader_filename = "libecal/e-cal.h", type_id = "e_cal_view_get_type ()")]
public class CalView : GLib.Object {
[CCode (has_construct_function = false)]
protected CalView ();
[Deprecated (since = "3.2")]
public void start ();
[Deprecated (since = "3.2")]
public void stop ();
[NoAccessorMethod]
public E.Cal client { owned get; construct; }
[NoAccessorMethod]
public void* view { get; construct; }
public signal void objects_added (GLib.List<long> objects);
public signal void objects_modified (GLib.List<long> objects);
public signal void objects_removed (GLib.List<E.CalComponentId> objects);
public virtual signal void view_complete (uint status, string error_msg);
public virtual signal void view_done (int status);
public virtual signal void view_progress (string message, uint percent);
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalChange {
public weak E.CalComponent comp;
public E.CalChangeType type;
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentAlarmInstance {
public weak string auid;
public long trigger;
public long occur_start;
public long occur_end;
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentAlarmRepeat {
public int repetitions;
public void* duration;
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentAlarmTrigger {
public E.CalComponentAlarmTriggerType type;
[CCode (cname = "u.rel_duration")]
public void* u_rel_duration;
[CCode (cname = "u.abs_time")]
public void* u_abs_time;
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentAlarms {
public weak E.CalComponent comp;
public weak GLib.SList<void*> alarms;
public void free ();
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentAttendee {
public weak string value;
public weak string member;
public bool rsvp;
public weak string delto;
public weak string delfrom;
public weak string sentby;
public weak string cn;
public weak string language;
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentDateTime {
public void* value;
public weak string tzid;
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentId {
public weak string uid;
public weak string rid;
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentOrganizer {
public weak string value;
public weak string sentby;
public weak string cn;
public weak string language;
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentPeriod {
public E.CalComponentPeriodType type;
public void* start;
[CCode (cname = "u.end")]
public void* u_end;
[CCode (cname = "u.duration")]
public void* u_duration;
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentRange {
public E.CalComponentRangeType type;
public E.CalComponentDateTime datetime;
}
[CCode (cheader_filename = "libecal/e-cal.h", has_type_id = false)]
public struct CalComponentText {
public weak string value;
public weak string altrep;
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_CHANGE_")]
[Flags]
public enum CalChangeType {
ADDED,
MODIFIED,
DELETED
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_CLIENT_ERROR_")]
public enum CalClientError {
NO_SUCH_CALENDAR,
OBJECT_NOT_FOUND,
INVALID_OBJECT,
UNKNOWN_USER,
OBJECT_ID_ALREADY_EXISTS,
INVALID_RANGE
}
[CCode (cheader_filename = "libecal/e-cal.h", cname = "ECalClientSourceTypeEnum", cprefix = "")]
[GIR (name = "CalClientSourceTypeEnum")]
public enum CalClientSourceType {
[CCode (cname = "Events")]
EVENTS,
[CCode (cname = "Tasks")]
TASKS,
[CCode (cname = "Memos")]
MEMOS,
[CCode (cname = "Invalid")]
INVALID
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_COMPONENT_ALARM_")]
public enum CalComponentAlarmAction {
NONE,
AUDIO,
DISPLAY,
EMAIL,
PROCEDURE,
UNKNOWN
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_COMPONENT_ALARM_TRIGGER_")]
public enum CalComponentAlarmTriggerType {
NONE,
RELATIVE_START,
RELATIVE_END,
ABSOLUTE
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_COMPONENT_CLASS_")]
public enum CalComponentClassification {
NONE,
PUBLIC,
PRIVATE,
CONFIDENTIAL,
UNKNOWN
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_COMPONENT_FIELD_")]
public enum CalComponentField {
CATEGORIES,
CLASSIFICATION,
COMPLETED,
DTEND,
DTSTART,
DUE,
GEO,
PERCENT,
PRIORITY,
SUMMARY,
TRANSPARENCY,
URL,
HAS_ALARMS,
ICON,
COMPLETE,
RECURRING,
OVERDUE,
COLOR,
STATUS,
COMPONENT,
LOCATION,
NUM_FIELDS
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_COMPONENT_PERIOD_")]
public enum CalComponentPeriodType {
DATETIME,
DURATION
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_COMPONENT_RANGE_")]
public enum CalComponentRangeType {
SINGLE,
THISPRIOR,
THISFUTURE
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_COMPONENT_TRANSP_")]
public enum CalComponentTransparency {
NONE,
TRANSPARENT,
OPAQUE,
UNKNOWN
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_COMPONENT_")]
public enum CalComponentVType {
NO_TYPE,
EVENT,
TODO,
JOURNAL,
FREEBUSY,
TIMEZONE
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_LOAD_")]
public enum CalLoadState {
NOT_LOADED,
AUTHENTICATING,
LOADING,
LOADED
}
[CCode (cheader_filename = "libecal/e-cal.h", cname = "ECalSetModeStatusEnum", cprefix = "")]
[GIR (name = "CalSetModeStatusEnum")]
public enum CalSetModeStatus {
[CCode (cname = "ECalSetModeSuccess")]
SUCCESS,
[CCode (cname = "ECalSetModeError")]
ERROR,
[CCode (cname = "ECalSetModeNotSupported")]
UNSUPPORTED
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CAL_SOURCE_TYPE_")]
public enum CalSourceType {
EVENT,
TODO,
JOURNAL,
LAST
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "E_CALENDAR_STATUS_")]
public enum CalendarStatus {
OK,
INVALID_ARG,
BUSY,
REPOSITORY_OFFLINE,
NO_SUCH_CALENDAR,
OBJECT_NOT_FOUND,
INVALID_OBJECT,
URI_NOT_LOADED,
URI_ALREADY_LOADED,
PERMISSION_DENIED,
UNKNOWN_USER,
OBJECT_ID_ALREADY_EXISTS,
PROTOCOL_NOT_SUPPORTED,
CANCELLED,
COULD_NOT_CANCEL,
AUTHENTICATION_FAILED,
AUTHENTICATION_REQUIRED,
DBUS_EXCEPTION,
OTHER_ERROR,
INVALID_SERVER_VERSION,
NOT_SUPPORTED
}
[CCode (cheader_filename = "libecal/e-cal.h", cprefix = "")]
[Flags]
public enum DataCalMode {
[CCode (cname = "Local")]
OCAL,
[CCode (cname = "Remote")]
EMOTE,
[CCode (cname = "AnyMode")]
NYMODE
}
[CCode (cheader_filename = "libecal/e-cal.h", instance_pos = 3.9)]
public delegate string CalAuthFunc (E.Cal ecal, string prompt, string key);
[CCode (cheader_filename = "libecal/e-cal.h", has_target = false)]
public delegate bool CalRecurInstanceFn (E.CalComponent comp, long instance_start, long instance_end, void* data);
[CCode (cheader_filename = "libecal/e-cal.h")]
public static GLib.Quark calendar_error_quark ();
}
|