[Bug 41772] TP Logger: Introduce TplEventWalker

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 29 10:12:32 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=41772

--- Comment #19 from Debarshi Ray <debarshi.ray at gmail.com> 2012-08-29 08:12:32 UTC ---
(In reply to comment #18)
> The API looks good to me but the method to create a new walker is missing from
> the doc.

You can create a new walker from the manager using:

/**
 * tpl_log_manager_walk_filtered_events:
 * @manager: a #TplLogManager
 * @account: a #TpAccount
 * @target: a non-NULL #TplEntity
 * @type_mask: event type filter see #TplEventTypeMask
 * @filter: (scope call) (allow-none): an optional filter function
 * @filter_data: user data to pass to @filter
 *
 * Create a #TplLogWalker to traverse all the events exchanged with @target.

 * Returns: (transfer full): a #TplLogWalker
 */
TplLogWalker *
tpl_log_manager_walk_filtered_events (TplLogManager *manager,
    TpAccount *account,
    TplEntity *target,
    gint type_mask,
    TplLogEventFilter filter,
    gpointer filter_data)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list