Hello Paul,
Wednesday, February 7, 2007, 2:09:09 PM, you wrote:
> Hi there,
> I'm trying to get Opie-remote to disable IrDA using a QCop call to the IrDA
> applet. However, when I run the following with IrDA enabled, Opie-Remote
> segfaults:
> QCopEnvelope e("QPE/IrDaApplet", "disableIrda()");
> If IrDA is disabled when this is called then it does not crash.
> Any ideas?
> On a slightly related note, it would be nice if there was an additional QCop
> function in the IrDA applet to disable IrDA regardless of the previous state,
> since from looking at the code, disableIrda() is designed not to disable IrDA
> if enableIrda() was previously called when it was already enabled.
Not sure this is good idea. Or rather, such call might be there, but
I couldn't make up a user story for it. Instead, there indeed
would better be reference counting for most services. This is
exactly what's lacking in WinCE. For example, I keep BT off most of
the time, but when I want to send SMS to mobile, I of course want it
to automatically turn on, send SMS, and then off again. On the other
hand, if I keep it always on (for example, to receive stuff), I don't
want SMS send app to turn BT off.
This all is trivially handled by reference counting. I'm not sure on what
level this should be done, but am sure that's how it should work
ideally ;-)
> Cheers,
> Paul
-- Best regards, Paul mailto:pmiscml_at_gmail.comReceived on Wed Feb 07 2007 - 07:32:40 EST
This archive was generated by hypermail 2.2.0 : Wed Feb 07 2007 - 07:32:53 EST