[Scopeapp-cvs]scopeapp/src ScopeAppDelegate.m,1.3,1.4
Status: Alpha
Brought to you by:
narge
From: <sco...@li...> - 2002-07-21 19:41:02
|
Update of /cvsroot/scopeapp/scopeapp/src In directory usw-pr-cvs1:/tmp/cvs-serv19615 Modified Files: ScopeAppDelegate.m Log Message: Implemented applicationWillFinishLaunching as a way for scopeapp to display a window on the screen. Index: ScopeAppDelegate.m =================================================================== RCS file: /cvsroot/scopeapp/scopeapp/src/ScopeAppDelegate.m,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ScopeAppDelegate.m 25 Jun 2002 01:41:30 -0000 1.3 --- ScopeAppDelegate.m 21 Jul 2002 19:40:58 -0000 1.4 *************** *** 43,47 **** --- 43,49 ---- { controller = [[ScopeController alloc] initWithSampler: sampler]; + mainController = controller; } + mainController = nil; } *************** *** 56,59 **** --- 58,74 ---- return YES; // FIXME change after adding support for reading from files ? } + + // FIXME this responds to NSApp, as an effort to show something on the screen. + // it does show something on the screen, but the program segfaults + - (void) applicationWillFinishLaunching: (NSNotification *)not + { + [self awakeFromNib]; + } + + /*- (void) applicationDidFinishLaunching: (NSNotification *)not; + { + [mainController windowDidLoad]; + } + */ @end |