[packagekit] Putting the include files

Richard Hughes hughsient at gmail.com
Wed Oct 15 06:57:13 PDT 2008


On Wed, 2008-10-15 at 13:53 +0200, Adrien BUSTANY wrote:
> Richard Hughes a écrit :
> > At the moment, PackageKit puts it's headers in:
> >
> > /usr/include/packagekit/*.h
> >
> > and PackageKit-qt puts them
> >
> > /usr/include/packagekit-qt/*.h
> >
> > And there are people working on other bindings for other languages.
> >
> > I propose we do like DeviceKit and NetworkManager something like this:
> >
> > /usr/include/PackageKit/packagekit-gobject/*.h
> > /usr/include/PackageKit/packagekit-qt/*.h
> >   
> That's OK with me

I'll ship the next version of my libs
in /usr/include/PackageKit/packagekit-gobject/ -- thanks.

> > I also propose that instead of including all the headers manually:
> >
> > #include <pk-client.h>
> > #include <pk-control.h>
> > #include <pk-package-id.h>
> > #include <pk-common.h>
> > #include <pk-connection.h>
> >
> > We just follow other libraries and do:
> >
> > #include <packagekit-gobject/packagekit.h>
> >
> > and
> >
> > #include <packagekit-qt/packagekit.h>
> >   
> Well, we already have a common header, #include <QPackageKit> (with 
> -I/usr/include/packagekit-qt in the gcc options). I can rename it if you 
> want...

No, that's more QT, so that can stay. I'll use packagekit.h

Richard.





More information about the PackageKit mailing list