Diff for /chimera/MainController.mm between versions 1.29 and 1.30

version 1.29, 2002/03/09 23:16:50 version 1.30, 2002/03/10 07:36:38
Line 42 Line 42
 #include "nsIServiceManager.h"  #include "nsIServiceManager.h"
 #include "nsIIOService.h"  #include "nsIIOService.h"
 #include "nsCocoaBrowserService.h"  #include "nsCocoaBrowserService.h"
   #import "AboutBox.h"
   
 static const char* ioServiceContractID = "@mozilla.org/network/io-service;1";  static const char* ioServiceContractID = "@mozilla.org/network/io-service;1";
   
 @implementation MainController  @implementation MainController
   
   -(id)init
   {
       if ( (self = [super init]) ) {
           mSplashScreen = [[SplashScreenWindow alloc] splash];
       }
       return self;
   }
   
 -(void)dealloc  -(void)dealloc
 {  {
     [super dealloc];      [super dealloc];
Line 77  static const char* ioServiceContractID = Line 86  static const char* ioServiceContractID =
     // offline.      // offline.
     if (mOffline)      if (mOffline)
         [mOfflineMenuItem setTitle: @"Go Online"];          [mOfflineMenuItem setTitle: @"Go Online"];
   
       [mSplashScreen close];
 }  }
   
 -(IBAction)newWindow:(id)aSender  -(IBAction)newWindow:(id)aSender
Line 285  static const char* ioServiceContractID = Line 296  static const char* ioServiceContractID =
     [[self preferencesController] showPreferences:nil] ;      [[self preferencesController] showPreferences:nil] ;
 }  }
   
   - (IBAction)showAboutBox:(id)sender
   {
       [[AboutBox sharedInstance] showPanel:sender];
   }
   
 @end  @end

Removed from v.1.29  
changed lines
  Added in v.1.30


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>