X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/f2f66bf528e9ff8784910c54c084df57f2c3b75e..3263678eef57c78d7017185eaa2efb9e644c7f29:/ITStatusItem.h diff --git a/ITStatusItem.h b/ITStatusItem.h index f2f6070..7085c78 100644 --- a/ITStatusItem.h +++ b/ITStatusItem.h @@ -14,8 +14,14 @@ #import -@interface ITStatusItem : NSStatusItem { +@class ITStatusItem; + +@protocol ITStatusItemMenuProvider +- (NSMenu *)menuForStatusItem:(ITStatusItem *)statusItem; +@end +@interface ITStatusItem : NSStatusItem { + id _menuProvider; } - (id)initWithStatusBar:(NSStatusBar *)statusBar withLength:(float)length; @@ -23,4 +29,7 @@ - (NSImage *)alternateImage; - (void)setAlternateImage:(NSImage *)image; +- (id )menuProvider; +- (void)setMenuProvider:(id )provider; + @end \ No newline at end of file