[interfacekit] Re: Headers splitting

"Stefano Ceccherini" <burton666@xxxxxxxxx> wrote:
> I had a small e-mail exchange with Axel,
> and we both agreed on some small changes in our public headers, but we thought
> we should ask on the list:
> 
> Currently, ListItem.h contains the interface declaration of BListItem and also
> the declaration of BStringItem. 
> 
> We'd like to move BStringItem to its own header file. Obviously, in order to
> maintain source compatibility, we have to include the new header file from the
> old one.
> 
> There are other things like that, for example, BSeparatorItem being in
> MenuItem.h, etc. etc.
> 
> The implementation will also need to be splitted (StringItem.cpp,
> SeparatorItem.cpp, etc.)
> 
> What do you think ?
>  

I think that this is a good idea.  It is cleaner, it makes more sense, it 
simplifies
finding the appropriate header.  Splitting the implementation sounds 
appropriate as well.

Andrew


Other related posts: