#2 data item for XferCallback

closed-fixed
Linus Walleij
None
5
2004-12-10
2002-07-29
David A Knight
No

An XferCallback currently provides no way of telling
the source of the callback, namely which jukebox it
came from.

This patch takes the approach of adding a void* data
item to the callback (and all functions which use them)
That way an application can pass an object, for
instance a C++ object or a GObject which wraps up njb
functionality for a single jukebox and so can easily
update the status of the transfer for the correct jukebox.

The patch is against the 0.9.1b release

Discussion

  • David A Knight
    David A Knight
    2002-07-29

     
    Attachments
  • Linus Walleij
    Linus Walleij
    2004-12-10

    Logged In: YES
    user_id=473872

    Fixed ages ago...

     
  • Linus Walleij
    Linus Walleij
    2004-12-10

    • assigned_to: nobody --> snirkel
    • status: open --> closed-fixed