forked from I2P_Developers/i2p.i2p
22 lines
461 B
Objective-C
22 lines
461 B
Objective-C
#pragma once
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@class StatusItemButton;
|
|
|
|
@protocol StatusItemButtonDelegate <NSObject>
|
|
|
|
- (void) statusItemButtonLeftClick: (StatusItemButton *) button;
|
|
- (void) statusItemButtonRightClick: (StatusItemButton *) button;
|
|
|
|
@end
|
|
|
|
@interface StatusItemButton : NSView
|
|
|
|
@property (strong, nonatomic) NSImage *image;
|
|
@property (unsafe_unretained) id<StatusItemButtonDelegate> delegate;
|
|
|
|
- (instancetype) initWithImage: (NSImage *) image;
|
|
|
|
@end
|