OpenAFS
OpenAFS distributed network file system
|
00001 // 00002 // AFSMenuExtraView.h 00003 // AFSCommander 00004 // 00005 // Created by Claudio Bisegni on 11/07/07. 00006 // Copyright 2007 INFN - National Institute of Nuclear Physics. All rights reserved. 00007 // 00008 00009 #import <Cocoa/Cocoa.h> 00010 #import "AFSBackgrounderDelegate.h" 00011 00012 @interface AFSMenuExtraView : NSView <NSMenuDelegate> { 00013 AFSBackgrounderDelegate *backgrounderDelegator; 00014 NSStatusItem *statusItem; 00015 NSMenu *statusItemMenu; 00016 BOOL isMenuVisible; 00017 } 00018 - initWithFrame:(NSRect)myRect backgrounder:(AFSBackgrounderDelegate*)backgrounder menu:(NSMenu*)menu; 00019 - (NSAttributedString*) makeKerberosIndicator:(int*)fontHeight; 00020 - (void)mouseDown:(NSEvent *)event; 00021 - (void)menuWillOpen:(NSMenu *)menu; 00022 - (void)menuDidClose:(NSMenu *)menu; 00023 - (void)menuNeedsUpdate:(NSMenu *)menu; 00024 @end