kde-core-devel@kde.org
[Top] [All Lists]

Re: naming convention for internal methods

Subject: Re: naming convention for internal methods
From: David Faure
Date: Fri, 16 Mar 2007 10:24:26 +0100
On Friday 16 March 2007, Richard Moore wrote:
> On 3/15/07, Aaron J. Seigo <aseigo@xxxxxxx> wrote:
> > note that this is, of course, not about legitimate protected: interfaces; 
> > this
> > is about stuff that -should- be private or at least not an exported symbol
> > but for whatever reason can't be. in other words, uncommon and exceptional
> > instances.
> 
> Perhaps we should look at such cases - after all, how many times
> should a method be marked internal but still visible?

Happens in many ksycocafactories for instance, because the derived classes in 
kded
need to call internal stuff in the factories, so those are public exported 
symbols.

-- 
David Faure, faure@xxxxxxx, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

<Prev in Thread] Current Thread [Next in Thread>