outpaddling <jbacon@[EMAIL PROTECTED]
> wrote:
> I tried just calling CFRunLoopRun() with the default env, but the
> handler doesn't fire. Some other docs I found suggested that I need
> to add a source using CFRunLoopAddSource(), but I haven't been able to
> figure out how as yet.
The way this stuff *usually* works is, you create the object, set up a
callback, then there's some function to create a CFRunLoopSourceRef from
the thing you're working with. For example, a CFMessage****t has a function
called CFMessage****tCreateRunLoopSource which returns a CFRunLoopSourceRef
and you can then add that to the CFRunLoop.
I don't know if that's really how it works with Bluetooth, and I don't
know what the function would be if so, but I guess that's the sort of
thing to look for.
--
Michael Ash
Rogue Amoeba Software


|