Re: Modal Dialog with XAP_Frame?


Subject: Re: Modal Dialog with XAP_Frame?
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Mon May 28 2001 - 21:16:16 CDT


Quoting Mike Nordell <tamlin@algonet.se>:

> Dom wrote:
> >
> > XAP_App * pApp = XAP_App::getApp();
>
> Doesn't this obsolete PD_Document::m_pApp ? :-)

This obsoletes all sorts of pointers lying around and getting passed to
constructors and the like, yes :-) Why no one besides maybe a few people know
this is beyond me.

The app is a singleton and our codebase should (be forced to) reflect this
design decision.

Dom



This archive was generated by hypermail 2b25 : Fri Jun 01 2001 - 17:33:00 CDT