Changeset 397 for trunk/Cocoa/F-Script Anywhere
- Timestamp:
- 02/24/08 06:03:02 (17 years ago)
- Location:
- trunk/Cocoa/F-Script Anywhere/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/F-Script Anywhere/Source/FSAAppList.m
r342 r397 417 417 { 418 418 static NSMenu *dockMenu = nil; 419 id<NSMenuItem>menuItem;419 NSMenuItem *menuItem; 420 420 DeVercruesseProcess *frontApp = [processManager frontProcess]; 421 421 NSString *appName = [frontApp name]; -
trunk/Cocoa/F-Script Anywhere/Source/FSAController.m
r226 r397 52 52 if (!alreadyInstalled && ((mainMenu = [NSApp mainMenu]) != nil)) { 53 53 NSMenu *insertIntoMenu = nil; 54 id<NSMenuItem>item;54 NSMenuItem *item; 55 55 unsigned insertLoc = NSNotFound; 56 56 NSBundle *bundle = [NSBundle bundleForClass: self]; … … 115 115 } 116 116 117 + (BOOL)validateMenuItem:( id <NSMenuItem>)menuItem117 + (BOOL)validateMenuItem:(NSMenuItem *)menuItem 118 118 { 119 119 SEL sel; … … 151 151 static unsigned numInterpWindows = 0; 152 152 153 if (showInterpreter){153 if (showInterpreter) { 154 154 NSAssert(window != nil, @"Can't get interpreter window!"); 155 155 if (interpreterNum == 0) interpreterNum = ++numInterpWindows; -
trunk/Cocoa/F-Script Anywhere/Source/FSAViewAssociationController.m
r224 r397 72 72 } 73 73 74 - (void)_addElement:(id)element withLabel:(NSString *)label toSubmenuForItem:( id<NSMenuItem>)item;74 - (void)_addElement:(id)element withLabel:(NSString *)label toSubmenuForItem:(NSMenuItem *)item; 75 75 { 76 76 NSMenu *submenu = [item submenu]; 77 id<NSMenuItem>subItem;77 NSMenuItem *subItem; 78 78 if (submenu == nil) { 79 79 id superElement = [item representedObject]; … … 97 97 } 98 98 99 - (void)_addValueForSelector:(SEL)sel withLabel:(NSString *)label toSubmenuForItem:( id<NSMenuItem>)item;99 - (void)_addValueForSelector:(SEL)sel withLabel:(NSString *)label toSubmenuForItem:(NSMenuItem *)item; 100 100 { 101 101 id obj = [item representedObject]; … … 109 109 - (void)_addElementToMenu:(id)element; 110 110 { 111 id<NSMenuItem>item;111 NSMenuItem *item; 112 112 if (element == nil) return; 113 113 item = [viewHierarchyMenu addItemWithTitle: [@" " -
trunk/Cocoa/F-Script Anywhere/Source/FSAWindowManager.h
r153 r397 12 12 NSMenu *menu; 13 13 NSMutableDictionary *records; 14 id<NSMenuItem>separator, label;14 NSMenuItem *separator, label; 15 15 } 16 16
Note:
See TracChangeset
for help on using the changeset viewer.