|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
<html>
|
|
Packit |
4b6dd7 |
<head>
|
|
Packit |
4b6dd7 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
Packit |
4b6dd7 |
<title>GDataCalendarService: GData Reference Manual</title>
|
|
Packit |
4b6dd7 |
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
|
Packit |
4b6dd7 |
<link rel="home" href="index.html" title="GData Reference Manual">
|
|
Packit |
4b6dd7 |
<link rel="up" href="ch14.html" title="Google Calendar API">
|
|
Packit |
4b6dd7 |
<link rel="prev" href="ch14.html" title="Google Calendar API">
|
|
Packit |
4b6dd7 |
<link rel="next" href="GDataCalendarFeed.html" title="GDataCalendarFeed">
|
|
Packit |
4b6dd7 |
<meta name="generator" content="GTK-Doc V1.26.1 (XML mode)">
|
|
Packit |
4b6dd7 |
<link rel="stylesheet" href="style.css" type="text/css">
|
|
Packit |
4b6dd7 |
</head>
|
|
Packit |
4b6dd7 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Top |
|
|
Packit |
4b6dd7 |
Description |
|
|
Packit |
4b6dd7 |
Object Hierarchy |
|
|
Packit |
4b6dd7 |
Implemented Interfaces
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
![Home](home.png)
|
|
Packit |
4b6dd7 |
![Up](up.png)
|
|
Packit |
4b6dd7 |
![Prev](left.png)
|
|
Packit |
4b6dd7 |
![Next](right.png)
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataCalendarService
|
|
Packit |
4b6dd7 |
GDataCalendarService — GData Calendar service object
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Stability Level
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
develop applications to these interfaces, release them, and have confidence that
|
|
Packit |
4b6dd7 |
they will run on all minor releases of the product (after the one in which the
|
|
Packit |
4b6dd7 |
interface was introduced, and within the same major release). Even at a major
|
|
Packit |
4b6dd7 |
release, incompatible changes are expected to be rare, and to have strong
|
|
Packit |
4b6dd7 |
justifications.
|
|
Packit |
4b6dd7 |
">Stable, unless otherwise indicated
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Functions
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataCalendarService *
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_new ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataAuthorizationDomain *
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_get_primary_authorization_domain ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataFeed *
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_all_calendars ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
void
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_all_calendars_async ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataFeed *
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_own_calendars ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
void
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_own_calendars_async ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataFeed *
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_events ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
void
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_events_async ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataCalendarEvent *
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_event ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
void
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_event_async ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataCalendarEvent *
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_calendar_event ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
void
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_calendar_event_async ()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Types and Values
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataCalendarServiceClass
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Object Hierarchy
|
|
Packit |
4b6dd7 |
GObject
|
|
Packit |
4b6dd7 |
╰── GDataService
|
|
Packit |
4b6dd7 |
╰── GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Implemented Interfaces
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataCalendarService implements
|
|
Packit |
4b6dd7 |
GDataBatchable.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Includes
|
|
Packit |
4b6dd7 |
#include <gdata/services/calendar/gdata-calendar-service.h>
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Description
|
|
Packit |
4b6dd7 |
GDataCalendarService is a subclass of GDataService for communicating with the GData API of Google Calendar. It supports querying
|
|
Packit |
4b6dd7 |
for, inserting, editing and deleting events from calendars, as well as operations on the calendars themselves.
|
|
Packit |
4b6dd7 |
For more details of Google Calendar's GData API, see the
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
online documentation.
|
|
Packit |
4b6dd7 |
Each calendar accessible through the service has an access control list (ACL) which defines the level of access to the calendar to each user, and
|
|
Packit |
4b6dd7 |
which users the calendar is shared with. For more information about ACLs for calendars, see the
|
|
Packit |
4b6dd7 |
online documentation on
|
|
Packit |
4b6dd7 |
sharing calendars.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Example 16. Retrieving the Access Control List for a Calendar
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
1
|
|
Packit |
4b6dd7 |
2
|
|
Packit |
4b6dd7 |
3
|
|
Packit |
4b6dd7 |
4
|
|
Packit |
4b6dd7 |
5
|
|
Packit |
4b6dd7 |
6
|
|
Packit |
4b6dd7 |
7
|
|
Packit |
4b6dd7 |
8
|
|
Packit |
4b6dd7 |
9
|
|
Packit |
4b6dd7 |
10
|
|
Packit |
4b6dd7 |
11
|
|
Packit |
4b6dd7 |
12
|
|
Packit |
4b6dd7 |
13
|
|
Packit |
4b6dd7 |
14
|
|
Packit |
4b6dd7 |
15
|
|
Packit |
4b6dd7 |
16
|
|
Packit |
4b6dd7 |
17
|
|
Packit |
4b6dd7 |
18
|
|
Packit |
4b6dd7 |
19
|
|
Packit |
4b6dd7 |
20
|
|
Packit |
4b6dd7 |
21
|
|
Packit |
4b6dd7 |
22
|
|
Packit |
4b6dd7 |
23
|
|
Packit |
4b6dd7 |
24
|
|
Packit |
4b6dd7 |
25
|
|
Packit |
4b6dd7 |
26
|
|
Packit |
4b6dd7 |
27
|
|
Packit |
4b6dd7 |
28
|
|
Packit |
4b6dd7 |
29
|
|
Packit |
4b6dd7 |
30
|
|
Packit |
4b6dd7 |
31
|
|
Packit |
4b6dd7 |
32
|
|
Packit |
4b6dd7 |
33
|
|
Packit |
4b6dd7 |
34
|
|
Packit |
4b6dd7 |
35
|
|
Packit |
4b6dd7 |
36
|
|
Packit |
4b6dd7 |
37
|
|
Packit |
4b6dd7 |
38
|
|
Packit |
4b6dd7 |
39
|
|
Packit |
4b6dd7 |
40
|
|
Packit |
4b6dd7 |
41
|
|
Packit |
4b6dd7 |
42
|
|
Packit |
4b6dd7 |
43
|
|
Packit |
4b6dd7 |
44
|
|
Packit |
4b6dd7 |
45
|
|
Packit |
4b6dd7 |
46
|
|
Packit |
4b6dd7 |
47
|
|
Packit |
4b6dd7 |
48
|
|
Packit |
4b6dd7 |
49
|
|
Packit |
4b6dd7 |
50
|
|
Packit |
4b6dd7 |
51
|
|
Packit |
4b6dd7 |
52
|
|
Packit |
4b6dd7 |
53
|
|
Packit |
4b6dd7 |
54
|
|
Packit |
4b6dd7 |
55
|
|
Packit |
4b6dd7 |
56
|
|
Packit |
4b6dd7 |
57
|
|
Packit |
4b6dd7 |
58
|
|
Packit |
4b6dd7 |
59
|
|
Packit |
4b6dd7 |
60
|
|
Packit |
4b6dd7 |
61
|
|
Packit |
4b6dd7 |
62
|
|
Packit |
4b6dd7 |
63
|
|
Packit |
4b6dd7 |
64
|
|
Packit |
4b6dd7 |
65
|
|
Packit |
4b6dd7 |
66
|
|
Packit |
4b6dd7 |
67
|
|
Packit |
4b6dd7 |
68
|
|
Packit |
4b6dd7 |
69
|
|
Packit |
4b6dd7 |
70
|
|
Packit |
4b6dd7 |
71
|
|
Packit |
4b6dd7 |
72
|
|
Packit |
4b6dd7 |
73
|
|
Packit |
4b6dd7 |
74
|
|
Packit |
4b6dd7 |
75
|
|
Packit |
4b6dd7 |
76
|
|
Packit |
4b6dd7 |
77
|
|
Packit |
4b6dd7 |
78
|
|
Packit |
4b6dd7 |
79
|
|
Packit |
4b6dd7 |
80
|
|
Packit |
4b6dd7 |
81
|
|
Packit |
4b6dd7 |
82
|
|
Packit |
4b6dd7 |
83
|
|
Packit |
4b6dd7 |
84
|
|
Packit |
4b6dd7 |
85
|
|
Packit |
4b6dd7 |
86
|
|
Packit |
4b6dd7 |
87
|
|
Packit |
4b6dd7 |
88
|
|
Packit |
4b6dd7 |
GDataCalendarService *service;
|
|
Packit |
4b6dd7 |
GDataCalendarCalendar *calendar;
|
|
Packit |
4b6dd7 |
GDataFeed *acl_feed;
|
|
Packit |
4b6dd7 |
GDataAccessRule *rule, *new_rule;
|
|
Packit |
4b6dd7 |
GDataLink *acl_link;
|
|
Packit |
4b6dd7 |
GList *i;
|
|
Packit |
4b6dd7 |
GError *error = NULL;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
service = create_calendar_service ();
|
|
Packit |
4b6dd7 |
calendar = get_calendar (service);
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
acl_feed = gdata_access_handler_get_rules (GDATA_ACCESS_HANDLER (calendar), GDATA_SERVICE (service), NULL, NULL, NULL, &error);
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
if (error != NULL) {
|
|
Packit |
4b6dd7 |
g_error ("Error getting ACL feed for calendar: %s", error->message);
|
|
Packit |
4b6dd7 |
g_error_free (error);
|
|
Packit |
4b6dd7 |
g_object_unref (calendar);
|
|
Packit |
4b6dd7 |
g_object_unref (service);
|
|
Packit |
4b6dd7 |
return;
|
|
Packit |
4b6dd7 |
}
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
for (i = gdata_feed_get_entries (acl_feed); i != NULL; i = i->next) {
|
|
Packit |
4b6dd7 |
const gchar *scope_value;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
rule = GDATA_ACCESS_RULE (i->data);
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
test@gmail.com
|
|
Packit |
4b6dd7 |
example@gmail.com
|
|
Packit |
4b6dd7 |
gdata_access_rule_get_scope (rule, NULL, &scope_value);
|
|
Packit |
4b6dd7 |
if (scope_value != NULL && strcmp (scope_value, "test@gmail.com") == 0) {
|
|
Packit |
4b6dd7 |
GDataAccessRule *updated_rule;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
test@gmail.com
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_access_rule_set_role (rule, GDATA_CALENDAR_ACCESS_ROLE_EDITOR);
|
|
Packit |
4b6dd7 |
updated_rule = GDATA_ACCESS_RULE (gdata_service_update_entry (GDATA_SERVICE (service), GDATA_ENTRY (rule), NULL, &error));
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
if (error != NULL) {
|
|
Packit |
4b6dd7 |
g_error ("Error updating access rule for %s: %s", scope_value, error->message);
|
|
Packit |
4b6dd7 |
g_error_free (error);
|
|
Packit |
4b6dd7 |
g_object_unref (acl_feed);
|
|
Packit |
4b6dd7 |
g_object_unref (calendar);
|
|
Packit |
4b6dd7 |
g_object_unref (service);
|
|
Packit |
4b6dd7 |
return;
|
|
Packit |
4b6dd7 |
}
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
g_object_unref (updated_rule);
|
|
Packit |
4b6dd7 |
} else {
|
|
Packit |
4b6dd7 |
test@gmail.com
|
|
Packit |
4b6dd7 |
gdata_service_delete_entry (GDATA_SERVICE (service), GDATA_ENTRY (rule), NULL, &error);
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
if (error != NULL) {
|
|
Packit |
4b6dd7 |
g_error ("Error deleting access rule for %s: %s", scope_value, error->message);
|
|
Packit |
4b6dd7 |
g_error_free (error);
|
|
Packit |
4b6dd7 |
g_object_unref (acl_feed);
|
|
Packit |
4b6dd7 |
g_object_unref (calendar);
|
|
Packit |
4b6dd7 |
g_object_unref (service);
|
|
Packit |
4b6dd7 |
return;
|
|
Packit |
4b6dd7 |
}
|
|
Packit |
4b6dd7 |
}
|
|
Packit |
4b6dd7 |
}
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
g_object_unref (acl_feed);
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
example@gmail.com
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
rule = gdata_access_rule_new (NULL);
|
|
Packit |
4b6dd7 |
gdata_access_rule_set_role (rule, GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY);
|
|
Packit |
4b6dd7 |
gdata_access_rule_set_scope (rule, GDATA_ACCESS_SCOPE_USER, "example@gmail.com");
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
acl_link = gdata_entry_look_up_link (GDATA_ENTRY (calendar), GDATA_LINK_ACCESS_CONTROL_LIST);
|
|
Packit |
4b6dd7 |
new_rule = GDATA_ACCESS_RULE (gdata_service_insert_entry (GDATA_SERVICE (service), gdata_link_get_uri (acl_link), GDATA_ENTRY (rule),
|
|
Packit |
4b6dd7 |
NULL, &error));
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
g_object_unref (rule);
|
|
Packit |
4b6dd7 |
g_object_unref (calendar);
|
|
Packit |
4b6dd7 |
g_object_unref (service);
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
if (error != NULL) {
|
|
Packit |
4b6dd7 |
g_error ("Error inserting access rule: %s", error->message);
|
|
Packit |
4b6dd7 |
g_error_free (error);
|
|
Packit |
4b6dd7 |
return;
|
|
Packit |
4b6dd7 |
}
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
g_object_unref (acl_link);
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Before version 0.17.2, the Calendar service could be manipulated using
|
|
Packit |
4b6dd7 |
batch operations. That is no longer supported, and any batch operations
|
|
Packit |
4b6dd7 |
created on the calendar will fail.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Functions
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_new ()
|
|
Packit |
4b6dd7 |
GDataCalendarService *
|
|
Packit |
4b6dd7 |
gdata_calendar_service_new (GDataAuthorizer *authorizer );
|
|
Packit |
4b6dd7 |
Creates a new GDataCalendarService using the given GDataAuthorizer. If authorizer
|
|
Packit |
4b6dd7 |
is NULL , all requests are made as an unauthenticated user.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
authorizer
|
|
Packit |
4b6dd7 |
a GDataAuthorizer to authorize the service's requests, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Returns
|
|
Packit |
4b6dd7 |
a new GDataCalendarService, or NULL ; unref with g_object_unref()
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Since: 0.9.0
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_get_primary_authorization_domain ()
|
|
Packit |
4b6dd7 |
GDataAuthorizationDomain *
|
|
Packit |
4b6dd7 |
gdata_calendar_service_get_primary_authorization_domain
|
|
Packit |
4b6dd7 |
(void );
|
|
Packit |
4b6dd7 |
The primary GDataAuthorizationDomain for interacting with Google Calendar. This will not normally need to be used, as it's used internally
|
|
Packit |
4b6dd7 |
by the GDataCalendarService methods. However, if using the plain GDataService methods to implement custom queries or requests which libgdata
|
|
Packit |
4b6dd7 |
does not support natively, then this domain may be needed to authorize the requests.
|
|
Packit |
4b6dd7 |
The domain never changes, and is interned so that pointer comparison can be used to differentiate it from other authorization domains.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Returns
|
|
Packit |
4b6dd7 |
the service's authorization domain.
|
|
Packit |
4b6dd7 |
[transfer none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Since: 0.9.0
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_all_calendars ()
|
|
Packit |
4b6dd7 |
GDataFeed *
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_all_calendars
|
|
Packit |
4b6dd7 |
(GDataCalendarService *self ,
|
|
Packit |
4b6dd7 |
GDataQuery *query ,
|
|
Packit |
4b6dd7 |
GCancellable *cancellable ,
|
|
Packit |
4b6dd7 |
GDataQueryProgressCallback progress_callback ,
|
|
Packit |
4b6dd7 |
gpointer progress_user_data ,
|
|
Packit |
4b6dd7 |
GError **error );
|
|
Packit |
4b6dd7 |
Queries the service to return a list of all calendars from the authenticated account which match the given
|
|
Packit |
4b6dd7 |
query
|
|
Packit |
4b6dd7 |
. It will return all calendars the user has read access to, including primary, secondary and imported
|
|
Packit |
4b6dd7 |
calendars.
|
|
Packit |
4b6dd7 |
For more details, see gdata_service_query() .
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
self
|
|
Packit |
4b6dd7 |
a GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
query
|
|
Packit |
4b6dd7 |
a GDataQuery with the query parameters, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
cancellable
|
|
Packit |
4b6dd7 |
optional GCancellable object, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_callback
|
|
Packit |
4b6dd7 |
a GDataQueryProgressCallback to call when an entry is loaded, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none][scope call][closure progress_user_data]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_user_data
|
|
Packit |
4b6dd7 |
data to pass to the progress_callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
error
|
|
Packit |
4b6dd7 |
a GError, or NULL
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Returns
|
|
Packit |
4b6dd7 |
a GDataFeed of query results; unref with g_object_unref() .
|
|
Packit |
4b6dd7 |
[transfer full]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_all_calendars_async ()
|
|
Packit |
4b6dd7 |
void
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_all_calendars_async
|
|
Packit |
4b6dd7 |
(GDataCalendarService *self ,
|
|
Packit |
4b6dd7 |
GDataQuery *query ,
|
|
Packit |
4b6dd7 |
GCancellable *cancellable ,
|
|
Packit |
4b6dd7 |
GDataQueryProgressCallback progress_callback ,
|
|
Packit |
4b6dd7 |
gpointer progress_user_data ,
|
|
Packit |
4b6dd7 |
GDestroyNotify destroy_progress_user_data ,
|
|
Packit |
4b6dd7 |
GAsyncReadyCallback callback ,
|
|
Packit |
4b6dd7 |
gpointer user_data );
|
|
Packit |
4b6dd7 |
Queries the service to return a list of all calendars from the authenticated account which match the given
|
|
Packit |
4b6dd7 |
query
|
|
Packit |
4b6dd7 |
. self
|
|
Packit |
4b6dd7 |
and query
|
|
Packit |
4b6dd7 |
are all reffed when this function is called, so can safely be unreffed after
|
|
Packit |
4b6dd7 |
this function returns.
|
|
Packit |
4b6dd7 |
For more details, see gdata_calendar_service_query_all_calendars() , which is the synchronous version of
|
|
Packit |
4b6dd7 |
this function, and gdata_service_query_async() , which is the base asynchronous query function.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
self
|
|
Packit |
4b6dd7 |
a GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
query
|
|
Packit |
4b6dd7 |
a GDataQuery with the query parameters, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
cancellable
|
|
Packit |
4b6dd7 |
optional GCancellable object, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_callback
|
|
Packit |
4b6dd7 |
a GDataQueryProgressCallback to call when an entry is loaded, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none][closure progress_user_data]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_user_data
|
|
Packit |
4b6dd7 |
data to pass to the progress_callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
destroy_progress_user_data
|
|
Packit |
4b6dd7 |
the function to call when progress_callback
|
|
Packit |
4b6dd7 |
will not be called any more, or NULL . This function will be
|
|
Packit |
4b6dd7 |
called with progress_user_data
|
|
Packit |
4b6dd7 |
as a parameter and can be used to free any memory allocated for it.
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
callback
|
|
Packit |
4b6dd7 |
a GAsyncReadyCallback to call when authentication is finished
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
user_data
|
|
Packit |
4b6dd7 |
data to pass to the callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Since: 0.9.1
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_own_calendars ()
|
|
Packit |
4b6dd7 |
GDataFeed *
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_own_calendars
|
|
Packit |
4b6dd7 |
(GDataCalendarService *self ,
|
|
Packit |
4b6dd7 |
GDataQuery *query ,
|
|
Packit |
4b6dd7 |
GCancellable *cancellable ,
|
|
Packit |
4b6dd7 |
GDataQueryProgressCallback progress_callback ,
|
|
Packit |
4b6dd7 |
gpointer progress_user_data ,
|
|
Packit |
4b6dd7 |
GError **error );
|
|
Packit |
4b6dd7 |
Queries the service to return a list of calendars from the authenticated account which match the given
|
|
Packit |
4b6dd7 |
query
|
|
Packit |
4b6dd7 |
, and the authenticated user owns. (i.e. They have full read/write access to the calendar, as well
|
|
Packit |
4b6dd7 |
as the ability to set permissions on the calendar.)
|
|
Packit |
4b6dd7 |
For more details, see gdata_service_query() .
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
self
|
|
Packit |
4b6dd7 |
a GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
query
|
|
Packit |
4b6dd7 |
a GDataQuery with the query parameters, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
cancellable
|
|
Packit |
4b6dd7 |
optional GCancellable object, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_callback
|
|
Packit |
4b6dd7 |
a GDataQueryProgressCallback to call when an entry is loaded, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none][scope call][closure progress_user_data]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_user_data
|
|
Packit |
4b6dd7 |
data to pass to the progress_callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
error
|
|
Packit |
4b6dd7 |
a GError, or NULL
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Returns
|
|
Packit |
4b6dd7 |
a GDataFeed of query results; unref with g_object_unref() .
|
|
Packit |
4b6dd7 |
[transfer full]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_own_calendars_async ()
|
|
Packit |
4b6dd7 |
void
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_own_calendars_async
|
|
Packit |
4b6dd7 |
(GDataCalendarService *self ,
|
|
Packit |
4b6dd7 |
GDataQuery *query ,
|
|
Packit |
4b6dd7 |
GCancellable *cancellable ,
|
|
Packit |
4b6dd7 |
GDataQueryProgressCallback progress_callback ,
|
|
Packit |
4b6dd7 |
gpointer progress_user_data ,
|
|
Packit |
4b6dd7 |
GDestroyNotify destroy_progress_user_data ,
|
|
Packit |
4b6dd7 |
GAsyncReadyCallback callback ,
|
|
Packit |
4b6dd7 |
gpointer user_data );
|
|
Packit |
4b6dd7 |
Queries the service to return a list of calendars from the authenticated account which match the given
|
|
Packit |
4b6dd7 |
query
|
|
Packit |
4b6dd7 |
, and the authenticated user owns. self
|
|
Packit |
4b6dd7 |
and query
|
|
Packit |
4b6dd7 |
are all reffed when this function is called,
|
|
Packit |
4b6dd7 |
so can safely be unreffed after this function returns.
|
|
Packit |
4b6dd7 |
For more details, see gdata_calendar_service_query_own_calendars() , which is the synchronous version of
|
|
Packit |
4b6dd7 |
this function, and gdata_service_query_async() , which is the base asynchronous query function.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
self
|
|
Packit |
4b6dd7 |
a GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
query
|
|
Packit |
4b6dd7 |
a GDataQuery with the query parameters, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
cancellable
|
|
Packit |
4b6dd7 |
optional GCancellable object, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_callback
|
|
Packit |
4b6dd7 |
a GDataQueryProgressCallback to call when an entry is loaded, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none][closure progress_user_data]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_user_data
|
|
Packit |
4b6dd7 |
data to pass to the progress_callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
destroy_progress_user_data
|
|
Packit |
4b6dd7 |
the function to call when progress_callback
|
|
Packit |
4b6dd7 |
will not be called any more, or NULL . This function will be
|
|
Packit |
4b6dd7 |
called with progress_user_data
|
|
Packit |
4b6dd7 |
as a parameter and can be used to free any memory allocated for it.
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
callback
|
|
Packit |
4b6dd7 |
a GAsyncReadyCallback to call when authentication is finished
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
user_data
|
|
Packit |
4b6dd7 |
data to pass to the callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Since: 0.9.1
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_events ()
|
|
Packit |
4b6dd7 |
GDataFeed *
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_events (GDataCalendarService *self ,
|
|
Packit |
4b6dd7 |
GDataCalendarCalendar *calendar ,
|
|
Packit |
4b6dd7 |
GDataQuery *query ,
|
|
Packit |
4b6dd7 |
GCancellable *cancellable ,
|
|
Packit |
4b6dd7 |
GDataQueryProgressCallback progress_callback ,
|
|
Packit |
4b6dd7 |
gpointer progress_user_data ,
|
|
Packit |
4b6dd7 |
GError **error );
|
|
Packit |
4b6dd7 |
Queries the service to return a list of events in the given calendar
|
|
Packit |
4b6dd7 |
, which match query
|
|
Packit |
4b6dd7 |
.
|
|
Packit |
4b6dd7 |
For more details, see gdata_service_query() .
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
self
|
|
Packit |
4b6dd7 |
a GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
calendar
|
|
Packit |
4b6dd7 |
a GDataCalendarCalendar
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
query
|
|
Packit |
4b6dd7 |
a GDataQuery with the query parameters, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
cancellable
|
|
Packit |
4b6dd7 |
optional GCancellable object, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_callback
|
|
Packit |
4b6dd7 |
a GDataQueryProgressCallback to call when an entry is loaded, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none][scope call][closure progress_user_data]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_user_data
|
|
Packit |
4b6dd7 |
data to pass to the progress_callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
error
|
|
Packit |
4b6dd7 |
a GError, or NULL
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Returns
|
|
Packit |
4b6dd7 |
a GDataFeed of query results; unref with g_object_unref() .
|
|
Packit |
4b6dd7 |
[transfer full]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_events_async ()
|
|
Packit |
4b6dd7 |
void
|
|
Packit |
4b6dd7 |
gdata_calendar_service_query_events_async
|
|
Packit |
4b6dd7 |
(GDataCalendarService *self ,
|
|
Packit |
4b6dd7 |
GDataCalendarCalendar *calendar ,
|
|
Packit |
4b6dd7 |
GDataQuery *query ,
|
|
Packit |
4b6dd7 |
GCancellable *cancellable ,
|
|
Packit |
4b6dd7 |
GDataQueryProgressCallback progress_callback ,
|
|
Packit |
4b6dd7 |
gpointer progress_user_data ,
|
|
Packit |
4b6dd7 |
GDestroyNotify destroy_progress_user_data ,
|
|
Packit |
4b6dd7 |
GAsyncReadyCallback callback ,
|
|
Packit |
4b6dd7 |
gpointer user_data );
|
|
Packit |
4b6dd7 |
Queries the service to return a list of events in the given calendar
|
|
Packit |
4b6dd7 |
, which match query
|
|
Packit |
4b6dd7 |
. self
|
|
Packit |
4b6dd7 |
, calendar
|
|
Packit |
4b6dd7 |
and query
|
|
Packit |
4b6dd7 |
are all reffed when this
|
|
Packit |
4b6dd7 |
function is called, so can safely be unreffed after this function returns.
|
|
Packit |
4b6dd7 |
Get the results of the query using gdata_service_query_finish() in the callback
|
|
Packit |
4b6dd7 |
.
|
|
Packit |
4b6dd7 |
For more details, see gdata_calendar_service_query_events() , which is the synchronous version of this function, and gdata_service_query_async() ,
|
|
Packit |
4b6dd7 |
which is the base asynchronous query function.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
self
|
|
Packit |
4b6dd7 |
a GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
calendar
|
|
Packit |
4b6dd7 |
a GDataCalendarCalendar
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
query
|
|
Packit |
4b6dd7 |
a GDataQuery with the query parameters, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
cancellable
|
|
Packit |
4b6dd7 |
optional GCancellable object, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_callback
|
|
Packit |
4b6dd7 |
a GDataQueryProgressCallback to call when an entry is loaded, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none][closure progress_user_data]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
progress_user_data
|
|
Packit |
4b6dd7 |
data to pass to the progress_callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
destroy_progress_user_data
|
|
Packit |
4b6dd7 |
the function to call when progress_callback
|
|
Packit |
4b6dd7 |
will not be called any more, or NULL . This function will be
|
|
Packit |
4b6dd7 |
called with progress_user_data
|
|
Packit |
4b6dd7 |
as a parameter and can be used to free any memory allocated for it.
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
callback
|
|
Packit |
4b6dd7 |
a GAsyncReadyCallback to call when the query is finished
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
user_data
|
|
Packit |
4b6dd7 |
data to pass to the callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Since: 0.9.1
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_event ()
|
|
Packit |
4b6dd7 |
GDataCalendarEvent *
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_event (GDataCalendarService *self ,
|
|
Packit |
4b6dd7 |
GDataCalendarEvent *event ,
|
|
Packit |
4b6dd7 |
GCancellable *cancellable ,
|
|
Packit |
4b6dd7 |
GError **error );
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_event has been deprecated since version 0.17.2 and should not be used in newly-written code.
|
|
Packit |
4b6dd7 |
Use gdata_calendar_service_insert_calendar_event()
|
|
Packit |
4b6dd7 |
instead to be able to specify the calendar to add the event to; otherwise
|
|
Packit |
4b6dd7 |
the default calendar will be used.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Inserts event
|
|
Packit |
4b6dd7 |
by uploading it to the online calendar service.
|
|
Packit |
4b6dd7 |
For more details, see gdata_service_insert_entry() .
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
self
|
|
Packit |
4b6dd7 |
a GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
event
|
|
Packit |
4b6dd7 |
the GDataCalendarEvent to insert
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
cancellable
|
|
Packit |
4b6dd7 |
optional GCancellable object, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
error
|
|
Packit |
4b6dd7 |
a GError, or NULL
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Returns
|
|
Packit |
4b6dd7 |
an updated GDataCalendarEvent, or NULL ; unref with g_object_unref() .
|
|
Packit |
4b6dd7 |
[transfer full]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Since: 0.2.0
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_event_async ()
|
|
Packit |
4b6dd7 |
void
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_event_async
|
|
Packit |
4b6dd7 |
(GDataCalendarService *self ,
|
|
Packit |
4b6dd7 |
GDataCalendarEvent *event ,
|
|
Packit |
4b6dd7 |
GCancellable *cancellable ,
|
|
Packit |
4b6dd7 |
GAsyncReadyCallback callback ,
|
|
Packit |
4b6dd7 |
gpointer user_data );
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_event_async has been deprecated since version 0.17.2 and should not be used in newly-written code.
|
|
Packit |
4b6dd7 |
Use
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_calendar_event_async() instead to be able to
|
|
Packit |
4b6dd7 |
specify the calendar to add the event to; otherwise the default calendar
|
|
Packit |
4b6dd7 |
will be used.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Inserts event
|
|
Packit |
4b6dd7 |
by uploading it to the online calendar service. self
|
|
Packit |
4b6dd7 |
and event
|
|
Packit |
4b6dd7 |
are both reffed when this function is called, so can safely be
|
|
Packit |
4b6dd7 |
unreffed after this function returns.
|
|
Packit |
4b6dd7 |
callback
|
|
Packit |
4b6dd7 |
should call gdata_service_insert_entry_finish() to obtain a GDataCalendarEvent representing the inserted event and to check for possible
|
|
Packit |
4b6dd7 |
errors.
|
|
Packit |
4b6dd7 |
For more details, see gdata_calendar_service_insert_event() , which is the synchronous version of this function, and
|
|
Packit |
4b6dd7 |
gdata_service_insert_entry_async() , which is the base asynchronous insertion function.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
self
|
|
Packit |
4b6dd7 |
a GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
event
|
|
Packit |
4b6dd7 |
the GDataCalendarEvent to insert
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
cancellable
|
|
Packit |
4b6dd7 |
optional GCancellable object, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
callback
|
|
Packit |
4b6dd7 |
a GAsyncReadyCallback to call when insertion is finished
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
user_data
|
|
Packit |
4b6dd7 |
data to pass to the callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Since: 0.8.0
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_calendar_event ()
|
|
Packit |
4b6dd7 |
GDataCalendarEvent *
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_calendar_event
|
|
Packit |
4b6dd7 |
(GDataCalendarService *self ,
|
|
Packit |
4b6dd7 |
GDataCalendarCalendar *calendar ,
|
|
Packit |
4b6dd7 |
GDataCalendarEvent *event ,
|
|
Packit |
4b6dd7 |
GCancellable *cancellable ,
|
|
Packit |
4b6dd7 |
GError **error );
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_calendar_event is deprecated and should not be used in newly-written code.
|
|
Packit |
4b6dd7 |
Inserts event
|
|
Packit |
4b6dd7 |
by uploading it to the online calendar service, adding it to
|
|
Packit |
4b6dd7 |
the specified calendar
|
|
Packit |
4b6dd7 |
.
|
|
Packit |
4b6dd7 |
For more details, see gdata_service_insert_entry() .
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
self
|
|
Packit |
4b6dd7 |
a GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
calendar
|
|
Packit |
4b6dd7 |
the GDataCalendarCalendar to insert the event into
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
event
|
|
Packit |
4b6dd7 |
the GDataCalendarEvent to insert
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
cancellable
|
|
Packit |
4b6dd7 |
optional GCancellable object, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
error
|
|
Packit |
4b6dd7 |
a GError, or NULL
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Returns
|
|
Packit |
4b6dd7 |
an updated GDataCalendarEvent, or NULL ;
|
|
Packit |
4b6dd7 |
unref with g_object_unref() .
|
|
Packit |
4b6dd7 |
[transfer full]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Since: 0.17.2
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_calendar_event_async ()
|
|
Packit |
4b6dd7 |
void
|
|
Packit |
4b6dd7 |
gdata_calendar_service_insert_calendar_event_async
|
|
Packit |
4b6dd7 |
(GDataCalendarService *self ,
|
|
Packit |
4b6dd7 |
GDataCalendarCalendar *calendar ,
|
|
Packit |
4b6dd7 |
GDataCalendarEvent *event ,
|
|
Packit |
4b6dd7 |
GCancellable *cancellable ,
|
|
Packit |
4b6dd7 |
GAsyncReadyCallback callback ,
|
|
Packit |
4b6dd7 |
gpointer user_data );
|
|
Packit |
4b6dd7 |
Inserts event
|
|
Packit |
4b6dd7 |
by uploading it to the online calendar service, adding it to
|
|
Packit |
4b6dd7 |
the specified calendar
|
|
Packit |
4b6dd7 |
. self
|
|
Packit |
4b6dd7 |
and event
|
|
Packit |
4b6dd7 |
are both reffed when this function
|
|
Packit |
4b6dd7 |
is called, so can safely be unreffed after this function returns.
|
|
Packit |
4b6dd7 |
callback
|
|
Packit |
4b6dd7 |
should call gdata_service_insert_entry_finish() to obtain a
|
|
Packit |
4b6dd7 |
GDataCalendarEvent representing the inserted event and to check for possible
|
|
Packit |
4b6dd7 |
errors.
|
|
Packit |
4b6dd7 |
For more details, see gdata_calendar_service_insert_event() , which is the
|
|
Packit |
4b6dd7 |
synchronous version of this function, and gdata_service_insert_entry_async() ,
|
|
Packit |
4b6dd7 |
which is the base asynchronous insertion function.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Parameters
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
self
|
|
Packit |
4b6dd7 |
a GDataCalendarService
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
calendar
|
|
Packit |
4b6dd7 |
the GDataCalendarCalendar to insert the event into
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
event
|
|
Packit |
4b6dd7 |
the GDataCalendarEvent to insert
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
cancellable
|
|
Packit |
4b6dd7 |
optional GCancellable object, or NULL .
|
|
Packit |
4b6dd7 |
[allow-none]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
callback
|
|
Packit |
4b6dd7 |
a GAsyncReadyCallback to call when insertion is finished
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
user_data
|
|
Packit |
4b6dd7 |
data to pass to the callback
|
|
Packit |
4b6dd7 |
function.
|
|
Packit |
4b6dd7 |
[closure]
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Since: 0.17.2
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Types and Values
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataCalendarService
|
|
Packit |
4b6dd7 |
typedef struct _GDataCalendarService GDataCalendarService;
|
|
Packit |
4b6dd7 |
All the fields in the GDataCalendarService structure are private and should never be accessed directly.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataCalendarServiceClass
|
|
Packit |
4b6dd7 |
typedef struct {
|
|
Packit |
4b6dd7 |
} GDataCalendarServiceClass;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
All the fields in the GDataCalendarServiceClass structure are private and should never be accessed directly.
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
Generated by GTK-Doc V1.26.1
|
|
Packit |
4b6dd7 |
</body>
|
|
Packit |
4b6dd7 |
</html>
|