fakes.c outside of kdecore?

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Mon Oct 24 05:51:55 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Faure schrieb:
> On Monday 24 October 2005 00:04, Jarosław Staniek wrote:
> 
>>In case of win32 target, kdefakes (or some functions from it) could go to 
>>kdewin32 library (previously, in KDElibs3, these functions were in fact 
>>defined in kdewin32).
>>
>>Reason 1:
>>Things like setenv()/unsetenv() are used not only in kdecore.
> 
> 
> As I said before, kdefakes has nothing to do with kdecore except for sharing the same subdir.
> libkdefakes is a lib of its own, so it can be used by whatever else doesn't use kdecore, independently.
> 
> 
>>int setenv (const char *, const char *, int);
>>//^^^^^^^^ <--error, no KDECORE_EXPORT here....
> 
> 
> Right; we should add a KDEFAKES_EXPORT there.
> 
> I think this would be more consistent (same solution across all platforms)
> than moving those implementations to the kdewin32 library.
But then you shouldn't check for the functions in detect_lowlevel.py
because it depends on kde!?

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDXGhrnNKwkgf+zVMRAg/CAKCeY/6YAX0y5Uqj2ukrM9jS8iQLOACfUBYH
J7+peCglakZYmhdR2/UJpDc=
=MG9m
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list