Re: API changes



Am Donnerstag, 13. März 2008 17:09:54 schrieb Tambet Ingo:
> On Thu, Mar 13, 2008 at 9:29 AM, Will Stephenson <wstephenson kde org> 
> >  rationale: Helmut told me that this had already been discussed, and that
> >  because you could imagine Connection.Activate( Device ) or
> > Device.Activate( Connection) it was decided to put it on the manager.  If
> > this was communicated properly,  this is a worst of all compromise. 
> > Since Connection is on the settings service, the action can't be carried
> > out there, so stay object-oriented and move this to Device.
> >
> >  As I'm wrapping NM in Solid for KDE 4, I'll probably move this method
> > onto the Device class anyway, but moving it in NM would be better for
> > both projects IMO.
>
> It was never a discussion between Connection.Activate(Device) vs
> Device.Activate(Connection). The current solution isn't a compromise

This came up some time ago at [1]. But you're right, the arguments were 
somewhat different.

Helmut

[1] http://www.mail-archive.com/networkmanager-list gnome org/msg07328.html


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]