[Scopeapp-cvs]scopeapp/src ScopeAppDelegate.m,1.8,1.9
Status: Alpha
Brought to you by:
narge
From: <sco...@li...> - 2002-07-29 09:40:41
|
Update of /cvsroot/scopeapp/scopeapp/src In directory usw-pr-cvs1:/tmp/cvs-serv27665 Modified Files: ScopeAppDelegate.m Log Message: Add comments to clarify the roles of ScopeAppDelegate and ScopeController Index: ScopeAppDelegate.m =================================================================== RCS file: /cvsroot/scopeapp/scopeapp/src/ScopeAppDelegate.m,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ScopeAppDelegate.m 29 Jul 2002 09:25:42 -0000 1.8 --- ScopeAppDelegate.m 29 Jul 2002 09:40:38 -0000 1.9 *************** *** 37,46 **** id sampler; ! // FIXME create an appropriate InputSampler sampler = [[TestSampler alloc] init]; if(sampler) { controller = [[ScopeController alloc] initWithSampler: sampler]; } } --- 37,51 ---- id sampler; ! // FIXME choose an appropriate InputSampler sampler = [[TestSampler alloc] init]; if(sampler) { + // FIXME eventually this program will be (sort of) document-based, + // with an NSDocumentController keeping track of all the existing + // ScopeControllers and their associated windows. For now, just + // create a ScopeController and let it take care of itself controller = [[ScopeController alloc] initWithSampler: sampler]; + //[controller autorelease]; } } |