Re: [Tracker] Discussing the API of libtracker-miner



El 19/08/09 03:58, Richard Hughes escribió:
2009/8/18 Adrien Bustany <madcat mymadcat com>:
  
PackageKit had the same problem... I don't exactly remember how they
solved it, but I can have a look at the codebase. KDE uses
NetworkManager (via another interface called Solid IIRC), and on maemo
we can use libconic (and connman on Intel's distro). Again, as long as
we abstract things behind an interface, I think we solve the problem
(but maybe I'm too optimistic ? :) ).
    
We abstracted NetworkManager, ConnMan and the unix network stack. Take
a look at pk-network-stack* at
http://cgit.freedesktop.org/packagekit/tree/src

Richard.
  
Martyn (and others), would you be ok with that ? I didn't really get the
point of compiling in several backends and choosing at runtime though
(pk_network_stack_is_enabled)... Is this for the case where
NetworkManager is available but currently stopped ?
I'd also like to add a StateChanged signal, but I don't know if all
backends would support it.

Adrien




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