On 11/8/06, Quentin Mathé <[EMAIL PROTECTED]> wrote:
Le 9 nov. 06 à 00:13, Yen-Ju Chen a écrit : > On 11/8/06, Quentin Mathé <[EMAIL PROTECTED]> wrote: >> >> Le 8 nov. 06 à 02:25, Yen-Ju Chen a écrit : >> >> > Author: yjchen >> > Date: Wed Nov 8 02:25:22 2006 >> > New Revision: 1165 >> > >> > URL: http://svn.gna.org/viewcvs/etoile?rev=1165&view=rev >> > Log: >> > Rename as PaneKit >> > >> > Added: >> > trunk/Etoile/Frameworks/PreferencesKit/GNUmakefile.headers >> > trunk/Etoile/Frameworks/PreferencesKit/ >> GNUmakefile.headers_build >> > trunk/Etoile/Frameworks/PreferencesKit/Headers/PaneKit.h >> > - copied, changed from r1164, trunk/Etoile/Frameworks/ >> > PreferencesKit/Headers/PreferencesKit.h >> > [snip] >> >> Why create this file GNUmakefile.headers_build when the number of >> headers is quite limited. Is it related to the test bundle? > > Well, I just copy from other framework. :P > That's why i said it is cosmetic change. > The purpose for it is to mimic the <PaneKit/PKxxx.h> if it is not > installed yet. > And as far as I remember, the reason to do that is for the case > when people do not use <PaneKit/PaneKit.h>, but > a single class such as <PaneKit/PKPreferencePane.h>. True, but such code is/was already present in Source/GNUmakefile of PreferencesKit. In fact, iirc PaneKit.h won't be usable if you don't install the headers it includes.
Sorry that I didn't get your point. If someone install PaneKit and decide to use it in his project, he may decide to import single class, say <PaneKit/PKPaneRegistry.h>, than the whole <PaneKit/PaneKit.h> If it is the case, and in PKPaneRegistry.h, it only use #import "PKOtherHeader.h", it will create the problem not able to find "PKOtherHeader.h" because it is actually under <PaneKit/PKOtherHeader.h> I think that is why all the GNUstep haders alwasy include <AppKit/xxx.h> instead of "xxx.h". Yen-Ju
Cheers, Quentin. -- Quentin Mathé [EMAIL PROTECTED] _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
_______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
