Adding codebase for the Objective-C++ part of the Mac OS X launcher/wrapper.

This commit is contained in:
meeh
2018-06-30 13:10:06 +00:00
parent 3de1fa2295
commit 0b01cc5070
14 changed files with 2622 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#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