[Telepathy] tp-qt4 Observer, Approver, Handler high-level API proposal

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Apr 3 11:53:10 PDT 2009


On Fri, 03 Apr 2009 at 15:15:59 -0300, Andre Moreira Magalhaes wrote:
> Simon McVittie wrote:
> > On Fri, 03 Apr 2009 at 13:00:55 -0300, Andre Moreira Magalhaes wrote:
> >   
> >>     void setOperationFinished(uint operationHandle);
> >>     void setOperationFinishedWithError(uint operationHandle,
> >>             const QString &errorName, const QString &errorMessage);
> >>     
> >
> > Ewwwwww. We have opaque typed pointers. Can we please use them? Even if they're
> > secretly just pointer-sized integers that have been cast to Something*.
> >   
> I don't see the need to that, we can typedef OperationHandle uint if 
> that's more pleasant.

No, my point is that if you pass a parameter of the wrong type, the compiler
should be able to bitch at you immediately. We're not writing Python :-)

    Simon


More information about the telepathy mailing list