diff options
Diffstat (limited to 'platform/osx/sdk/MGLAttributionButton.h')
-rw-r--r-- | platform/osx/sdk/MGLAttributionButton.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/osx/sdk/MGLAttributionButton.h b/platform/osx/sdk/MGLAttributionButton.h new file mode 100644 index 0000000000..7bc0fa5357 --- /dev/null +++ b/platform/osx/sdk/MGLAttributionButton.h @@ -0,0 +1,11 @@ +#import <Cocoa/Cocoa.h> + +@interface MGLAttributionButton : NSButton + +- (instancetype)initWithTitle:(NSString *)title URL:(NSURL *)url; + +@property (nonatomic) NSURL *URL; + +- (IBAction)openURL:(id)sender; + +@end |