From: William Lachance (firstname.lastname@example.org)
Date: Sat Nov 30 2002 - 05:10:33 EST
attached mail follows:
On Sat, 2002-11-30 at 03:40, Hubert Figuiere wrote:
> On Saturday, Nov 30, 2002, at 07:53 Europe/Paris, William Lachance
> > Hub: m_pFrame in xap_FrameImpl needs to be accessed by its child
> > classes, so it can't just be set to private without giving the children
> > some way of accessing it. I think setting it to protected is a good way
> > of doing so.
> I did put a public getFrame() for that purpose. One of the reason is
> that I have to access it from Obj-C classes that I can't make friend of
> it. I moved m_pFrame to private because I don't want anyone else access
> it to overwrite it. That is encapsulation.
Ok, I understand the logic behind this. Thanks for volunteering to fix
this (I'm going to be out for the weekend). For any other newcomers to
AbiWord: you might find this post by Joaquin, ages ago, interesting:
Cleaning up the frame code to eliminate all protected variables in the
frame code is a big job. I will try to work on this incrementally, but
my time is limited. So if anyone's looking for an open job..
-- William Lachance <email@example.com>
This archive was generated by hypermail 2.1.4 : Sat Nov 30 2002 - 05:10:43 EST