| /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */ |
| /* |
| * @copyright See LICENCE for copyright and license information. |
| * |
| * @author Alexander Afanasyev <alexander.afanasyev@ucla.edu> |
| * @author Ilya Moiseenko <iliamo@ucla.edu> |
| */ |
| |
| #import "menu-delegate.h" |
| |
| @implementation MenuDelegate |
| |
| - (void)applicationDidFinishLaunching:(NSNotification *)aNotification |
| { |
| // Insert code here to initialize your application |
| } |
| |
| // -(void)dealloc |
| // { |
| // [statusItem release]; |
| // [super dealloc]; |
| // } |
| |
| -(void)awakeFromNib |
| { |
| statusItem = [[NSStatusBar systemStatusBar] statusItemWithLength:NSVariableStatusItemLength]; |
| [statusItem setTitle:@"X"]; |
| [statusItem setMenu:statusMenu]; |
| [statusItem setHighlightMode:YES]; |
| } |
| |
| @end |