12345678910111213141516171819202122232425262728 |
- //
- // InsideJobAppDelegate.m
- // InsideJob
- //
- // Created by Adam Preble on 10/6/10.
- // Copyright 2010 Adam Preble. All rights reserved.
- //
- #import "InsideJobAppDelegate.h"
- #import "IJInventoryWindowController.h"
- @implementation InsideJobAppDelegate
- @synthesize inventoryWindowController;
- - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
- [inventoryWindowController worldSelectionChanged:nil];
- }
- - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender
- {
- BOOL shouldClose = [inventoryWindowController windowShouldClose:nil];
- if (shouldClose)
- return NSTerminateNow;
- else
- return NSTerminateCancel;
- }
- @end
|