diff options
Diffstat (limited to 'platform/macos/src/MGLAttributionButton.h')
-rw-r--r-- | platform/macos/src/MGLAttributionButton.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/platform/macos/src/MGLAttributionButton.h b/platform/macos/src/MGLAttributionButton.h deleted file mode 100644 index 3e0b53a6d0..0000000000 --- a/platform/macos/src/MGLAttributionButton.h +++ /dev/null @@ -1,25 +0,0 @@ -#import <Cocoa/Cocoa.h> - -#import "MGLFoundation.h" -#import "MGLTypes.h" - -NS_ASSUME_NONNULL_BEGIN - -@class MGLAttributionInfo; - -/// Button that looks like a hyperlink and opens a URL. -MGL_EXPORT -@interface MGLAttributionButton : NSButton - -/// Returns an `MGLAttributionButton` instance with the given info. -- (instancetype)initWithAttributionInfo:(MGLAttributionInfo *)info; - -/// The URL to open and display as a tooltip. -@property (nonatomic, readonly, nullable) NSURL *URL; - -/// Opens the URL. -- (IBAction)openURL:(nullable id)sender; - -@end - -NS_ASSUME_NONNULL_END |