From 5261ca05ba24e8415c944fddbd925ffd6680709d Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Wed, 22 Oct 2014 18:49:08 +0200 Subject: [PATCH] (OSX) Add ObjC-1 fallbacks --- apple/OSX/settings.m | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/apple/OSX/settings.m b/apple/OSX/settings.m index 2d96082fd8..620160ca7c 100644 --- a/apple/OSX/settings.m +++ b/apple/OSX/settings.m @@ -24,6 +24,13 @@ static void* const associated_name_tag = (void*)&associated_name_tag; @interface RAInputBinder : NSWindow +{ +#if !__OBJC2__ + NSTimer* _timer; + const rarch_setting_t *_setting; +#endif +} + @property (nonatomic, retain) NSTimer* timer; @property (nonatomic, assign) const rarch_setting_t* setting; @end @@ -88,6 +95,17 @@ static void* const associated_name_tag = (void*)&associated_name_tag; NSOutlineViewDataSource, NSOutlineViewDelegate, NSWindowDelegate> #endif +{ +#if !__OBJC2__ + RAInputBinder* _binderWindow; + NSButtonCell* _booleanCell; + NSTextFieldCell* _binderCell; + NSTableView* _table + NSOutlineView* _outline; + NSMutableArray* _settings; + NSMutableArray* _currentGroup; +#endif +} @property (nonatomic, retain) RAInputBinder IBOutlet* binderWindow; @property (nonatomic, retain) NSButtonCell IBOutlet* booleanCell;