Helping out with Krita

Clarence Dang dang at kde.org
Fri Mar 12 12:29:30 CET 2004


On Fri, 12 Mar 2004 10:22 pm, Boudewijn Rempt wrote:
> On Friday 12 March 2004 12:24, Clarence Dang wrote:
> > Normally if you add/remove a new data member to a class, you change the
> > size and/or layout of the class creating 1) a need for a complete
> > recompile of all code dependent on the header (this is very bad on my
> > slow computer) 2) random behaviour/crashes with code that uses that class
> > that hasn't been recompiled (won't happen in this case but would happen
> > if KisView became public API).
>
> Do I understand correctly that one could put the struct in the
> implementation file?
Yes.  You can even put it in .h file although there wouldn't be much point.

Cheers,
Clarence



More information about the kimageshop mailing list