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/NetSurfAppDelegate.h | |
parent | 2ba97ae0dbd01a4f46c543ae025249e5349e0585 (diff) | |
download | netsurf-e51c739bfc8e0c50161172952c99b8796703c6fe.tar.gz netsurf-e51c739bfc8e0c50161172952c99b8796703c6fe.tar.bz2 |
Start modernising ObjC
Diffstat (limited to 'frontends/cocoa/NetSurfAppDelegate.h')
-rw-r--r-- | frontends/cocoa/NetSurfAppDelegate.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/frontends/cocoa/NetSurfAppDelegate.h b/frontends/cocoa/NetSurfAppDelegate.h index a22c4ceee..37d07a4d2 100644 --- a/frontends/cocoa/NetSurfAppDelegate.h +++ b/frontends/cocoa/NetSurfAppDelegate.h @@ -22,21 +22,17 @@ @class PreferencesWindowController; @class HistoryWindowController; -@interface NetSurfAppDelegate : NSObject { - SearchWindowController *search; - PreferencesWindowController *preferences; - HistoryWindowController *history; -} +@interface NetSurfAppDelegate : NSObject -@property (readwrite, retain, nonatomic) SearchWindowController *search; -@property (readwrite, retain, nonatomic) PreferencesWindowController *preferences; -@property (readwrite, retain, nonatomic) HistoryWindowController *history; +@property (nonatomic) SearchWindowController *search; +@property (nonatomic) PreferencesWindowController *preferences; +@property (nonatomic) HistoryWindowController *history; -- (IBAction) showSearchWindow: (id) sender; -- (IBAction) searchForward: (id) sender; -- (IBAction) searchBackward: (id) sender; +- (IBAction)showSearchWindow:(id)sender; +- (IBAction)searchForward:(id)sender; +- (IBAction)searchBackward:(id)sender; -- (IBAction) showPreferences: (id) sender; -- (IBAction) showGlobalHistory: (id) sender; +- (IBAction)showPreferences:(id)sender; +- (IBAction)showGlobalHistory:(id)sender; @end |