In article <[EMAIL PROTECTED]>,
 Nicola Pero <[EMAIL PROTECTED]> wrote:

> For example, say your framework is called 'Framework'.  You can put your 
> public headers in
> 
> Framework/Header.h
> 
> and your private/protected ones in
> 
> Framework/Private/Header.h
> 
> Then it's obvious that
> 
> #include <Framework/Private/Header.h>
> 
> is using private/protected headers of the framework, and
> 
> #include <Framework/Header.h>
> 
> is using a public header.

Yes, there are many workarounds for this, not the least of which being 
just doing away with the distinction and adding a comment to the top of 
the header file saying it's private.

However, on MacOS X, you don't use a different #import statement to get 
at a private header.

   #import <Framework/Header.h>

will look in both places. So, for source-code compatibility, it will 
just have to go in "Headers".

But anyway, it's a small feature, and in my case it's not really 
important. I just thought I'd offer a full explanation in case someone 
was interested in this and wanted to add it.

Cheers,
-- Uli
http://www.zathras.de
_______________________________________________
Help-gnustep mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-gnustep

Reply via email to