Quoting Mike Nordell <[EMAIL PROTECTED]>:

> 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

Reply via email to