~ubuntu-branches/ubuntu/quantal/folks/quantal

« back to all changes in this revision

Viewing changes to folks/presence-details.vala

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-12 09:48:10 UTC
  • mfrom: (1.6.2)
  • Revision ID: package-import@ubuntu.com-20120912094810-6zlx8889hcovxj7p
Tags: 0.7.4.1-0ubuntu1
* New upstream bugfix release
* debian/control:
  - Bump build-depends on libglib2.0-dev, valac-0.18, libvala-0.18-dev
* debian/libfolks-eds25.symbols:
* debian/libfolks25.symbols:
  - Updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
 * their current availability, such as for chatting.
74
74
 *
75
75
 * If the {@link Backend} providing the {@link Persona} doesn't support
76
 
 * presence, the {@link Persona}'s `presence_type` will be set to
77
 
 * {@link PresenceType.UNSET} and their `presence_message` will be an empty
 
76
 * presence, the {@link Persona}'s ``presence_type`` will be set to
 
77
 * {@link PresenceType.UNSET} and their ``presence_message`` will be an empty
78
78
 * string.
79
79
 */
80
80
public interface Folks.PresenceDetails : Object
179
179
  /**
180
180
   * Compare two {@link PresenceType}s.
181
181
   *
182
 
   * `0` will be returned if the types are equal, a positive number will be
183
 
   * returned if `type_a` is more available than `type_b`, and a negative
 
182
   * ``0`` will be returned if the types are equal, a positive number will be
 
183
   * returned if ``type_a`` is more available than ``type_b``, and a negative
184
184
   * number will be returned if the opposite is true.
185
185
   *
186
186
   * @param type_a the first {@link PresenceType} to compare
197
197
  /**
198
198
   * Whether the contact is online.
199
199
   *
200
 
   * This will be `true` if the contact's presence type is higher than
 
200
   * This will be ``true`` if the contact's presence type is higher than
201
201
   * {@link PresenceType.OFFLINE}, as determined by
202
202
   * {@link PresenceDetails.typecmp}.
203
203
   *
204
 
   * @return `true` if the contact is online, `false` otherwise
 
204
   * @return ``true`` if the contact is online, ``false`` otherwise
205
205
   */
206
206
  public bool is_online ()
207
207
    {