[packagekit] Putting the include files

Adrien BUSTANY madcat at mymadcat.com
Wed Oct 15 04:53:09 PDT 2008


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 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...

Cheers
Adrien

> Other ideas welcome.
>
> Richard.
>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>
>   




More information about the PackageKit mailing list