[haiku-commits] Re: haiku: hrev45604 - src/kits/interface headers/os/interface

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: "haiku-commits@xxxxxxxxxxxxx" <haiku-commits@xxxxxxxxxxxxx>
  • Date: Fri, 3 May 2013 10:09:14 -0400

On May 3, 2013, at 10:01 AM, Rene Gollent <anevilyak@xxxxxxxxx> wrote:

> On Fri, May 3, 2013 at 10:00 AM, John Scipione <jscipione@xxxxxxxxx> wrote:
>> It compiled fine but only because ListView.h happened to include all those 
>> classes that you need below but it's not a great idea to depend on that. If 
>> you explicitly declare the classes you need, which adds almost no compile 
>> time, then you allow the possibility of eliminating redundant header 
>> includes greatly decreasing compile times.
> 
> Except that's not going to happen here since BOutlineListView
> subclasses BListView, and as such that header's not going away.

Right, but a declaration in a header included by BListView might go away.

Other related posts: