[Telepathy] tq-qt4 refcount proposal

Kenneth Rohde Christiansen kenneth.christiansen at gmail.com
Tue Apr 7 06:32:58 PDT 2009


Exactly, webkit uses RefPtr and classes need to derive from RefCounted.

http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=blob;f=JavaScriptCore/wtf/RefCounted.h;h=dc83b9bf68b56b82b84c9d672b9c9e8ef8d20283;hb=ded90aadc4c94032aa293a3cdae3ac9f146dc7cd

http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=blob;f=JavaScriptCore/wtf/RefPtr.h;h=929e745b51c5254233fd1fef5a97800f047108ab;hb=ded90aadc4c94032aa293a3cdae3ac9f146dc7cd

Kenneth

On Tue, Apr 7, 2009 at 2:10 AM, Jonathon Jongsma
<jonathon.jongsma at collabora.co.uk> wrote:
> Jonathon Jongsma wrote:
>
>> [SharedData]
>> Speaking of virtual destructors, SharedData should probably have one if it's meant to
>> be the base class of all ref-counted classes. Also, the name is rather
>
> inscrutable (something like RefCounted would be more obvious to me), but I guess if that's
> what Qt people are used to, so be it.
>
> --
> Jonathon Jongsma
> Collabora Ltd
>
> _______________________________________________
> telepathy mailing list
> telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy
>



-- 
Kenneth Rohde Christiansen
http://kenneth.christiansen.googlepages.com


More information about the telepathy mailing list