4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>Writing GOA applications</title>
5
<title>GNOME Online Accounts Reference Manual: Writing GOA applications</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="GNOME Online Accounts Reference Manual">
8
8
<link rel="up" href="overview.html" title="Part I. GNOME Online Accounts Overview">
9
9
<link rel="prev" href="overview.html" title="Part I. GNOME Online Accounts Overview">
10
10
<link rel="next" href="ch01s02.html" title="Accessing Services">
11
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16
<td><a accesskey="p" href="overview.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
<td><a accesskey="u" href="overview.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19
<th width="100%" align="center">GNOME Online Accounts Reference Manual</th>
20
<td><a accesskey="n" href="ch01s02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
<td width="100%" align="left" class="shortcuts"></td>
17
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18
<td><a accesskey="u" href="overview.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
19
<td><a accesskey="p" href="overview.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20
<td><a accesskey="n" href="ch01s02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
22
22
<div class="chapter">
23
23
<div class="titlepage"><div><div><h2 class="title">
46
46
would only be interested in GOA accounts with mail- and
47
47
contacts-services, not accounts with
48
48
calendaring-services. Applications can use methods on the
49
<a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> type (such as <a class="link" href="GoaObject.html#goa-object-peek-mail" title="goa_object_peek_mail ()"><code class="function">goa_object_peek_mail()</code></a>) to check what
49
<a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> type (such as <a class="link" href="GoaObject.html#goa-object-peek-mail" title="goa_object_peek_mail ()"><code class="function">goa_object_peek_mail()</code></a>) to check what
50
50
kind of services an account provides. Note that this list can
51
51
change at run-time if e.g. the user toggles a <span class="guilabel">Use
52
52
account for Mail</span> check-button.
60
60
Applications must not destroy data if an account object is
61
removed (e.g. when the <a class="link" href="GoaClient.html#GoaClient-account-removed" title='The "account-removed" signal'><span class="type">"account-removed"</span></a> signal is
61
removed (e.g. when the <a class="link" href="GoaClient.html#GoaClient-account-removed" title="The “account-removed” signal"><span class="type">“account-removed”</span></a> signal is
62
62
emitted) - for example, if the <span class="command"><strong>goa-daemon</strong></span>
63
63
program crashes or is restarted on software upgrade, account
64
64
objects will be removed only to be added back the next time