diff options
author | Sven Weidauer <sven@5sw.de> | 2017-06-05 12:43:11 +0200 |
---|---|---|
committer | Sven Weidauer <sven@5sw.de> | 2017-06-05 12:43:11 +0200 |
commit | e51c739bfc8e0c50161172952c99b8796703c6fe (patch) | |
tree | 1b3a47b5123aad511bc91a2b589a2dd2949549e3 /frontends/cocoa/FormSelectMenu.h | |
parent | 2ba97ae0dbd01a4f46c543ae025249e5349e0585 (diff) | |
download | netsurf-e51c739bfc8e0c50161172952c99b8796703c6fe.tar.gz netsurf-e51c739bfc8e0c50161172952c99b8796703c6fe.tar.bz2 |
Start modernising ObjC
Diffstat (limited to 'frontends/cocoa/FormSelectMenu.h')
-rw-r--r-- | frontends/cocoa/FormSelectMenu.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/frontends/cocoa/FormSelectMenu.h b/frontends/cocoa/FormSelectMenu.h index cec519296..3ed86e315 100644 --- a/frontends/cocoa/FormSelectMenu.h +++ b/frontends/cocoa/FormSelectMenu.h @@ -18,15 +18,12 @@ #import <Cocoa/Cocoa.h> -@interface FormSelectMenu : NSObject { - NSMenu *menu; - NSPopUpButtonCell *cell; +struct form_control; +struct browser_window; - struct browser_window *browser; - struct form_control *control; -} +@interface FormSelectMenu : NSObject -- (id)initWithControl: (struct form_control *) control forWindow: (struct browser_window *) window; -- (void) runInView: (NSView *) view; +- (instancetype)initWithControl:(struct form_control *)control forWindow:(struct browser_window *)window; +- (void)runInView:(NSView *)view; @end |