[packagekit] Putting the include files

Richard Hughes hughsient at gmail.com
Wed Oct 15 04:45:46 PDT 2008


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

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>

Other ideas welcome.

Richard.





More information about the PackageKit mailing list