Re: [Bluez-devel] [PATCH] Make BluetoothClient work on all adapters

Marcel Holtmann
2007-07-25T08:05:17Z

Hi Bastien,

> > > So, the only thing I'm supposed to do, is change the model
> > > automatically, so that when we get the model for the default adapter,
> > > the model should change automatically. That will require the
> > > DefaultAdapterChanged signal to live in the instance, as in my patch, as
> > > globally, we don't have any knownledge of the instances.
> >
> > We can have that in the model if we connect the proper signals to the
> > rows. That is the way I prefer, because the rest is messy and would need
> > DBusProxy for every instance. We don't since the model should be global
> > and actually valid for the lifetime of the application. However don't
> > worry. We can fix this up in the background. Once we have proper widgets
> > available, we don't have to expose the model to the applications anymore
> > (or at least less).
>
> What's needed for the patch to go in then? Should we just make sure that
> we use the default adapter when NULL is passed to those few functions,
> and that's it? Even easier...

patch for that is in the CVS now. Including the changes to the wizard.