~online-accounts/libaccounts-glib/sourcebuild

« back to all changes in this revision

Viewing changes to libaccounts-glib/ag-account-service.h

  • Committer: Alberto Mardegan
  • Date: 2011-12-14 09:04:25 UTC
  • mfrom: (129.1.10)
  • Revision ID: git-v1:72830101b56b133192a7b062695e3c130e97d9a1
Merge branch 'master' into ubuntu

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
 
164
164
/**
165
165
 * ag_account_service_new:
166
 
 * @account: an #AgAccount.
167
 
 * @service: an #AgService supported by @account.
 
166
 * @account: (transfer full): an #AgAccount.
 
167
 * @service: (transfer full): an #AgService supported by @account.
168
168
 *
169
169
 * Constructor.
170
170
 *
228
228
 * ag_account_service_set_value:
229
229
 * @self: the #AgAccountService.
230
230
 * @key: the name of the setting to change.
231
 
 * @value: a #GValue holding the new setting's value.
 
231
 * @value: (allow-none): a #GValue holding the new setting's value.
232
232
 *
233
233
 * Sets the value of the configuration setting @key to the value @value.
234
234
 * If @value is %NULL, then the setting is unset.
240
240
 * ag_account_service_settings_iter_init:
241
241
 * @self: the #AgAccountService.
242
242
 * @iter: an uninitialized #AgAccountSettingIter structure.
243
 
 * @key_prefix: enumerate only the settings whose key starts with @key_prefix.
 
243
 * @key_prefix: (allow-none): enumerate only the settings whose key starts with
 
244
 * @key_prefix.
244
245
 *
245
246
 * Initializes @iter to iterate over the account settings. If @key_prefix is
246
247
 * not %NULL, only keys whose names start with @key_prefix will be iterated
255
256
/**
256
257
 * ag_account_service_settings_iter_next:
257
258
 * @iter: an initialized #AgAccountSettingIter structure.
258
 
 * @key: a pointer to a string receiving the key name.
259
 
 * @value: a pointer to a pointer to a #GValue, to receive the key value.
 
259
 * @key: (out callee-allocates) (transfer none): a pointer to a string
 
260
 * receiving the key name.
 
261
 * @value: (out callee-allocates) (transfer none): a pointer to a pointer to a
 
262
 * #GValue, to receive the key value.
260
263
 *
261
264
 * Iterates over the account keys. @iter must be an iterator previously
262
265
 * initialized with ag_account_service_settings_iter_init().