From f74909742d7ecd03c59ce275665d377e66892249 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Tue, 29 Oct 2013 10:43:07 +0000 Subject: [PATCH] fix compile for Xcode 5 --- PrefsBundle/BluetoothController.m | 4 ++-- PrefsBundle/PrefsViewController.m | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PrefsBundle/BluetoothController.m b/PrefsBundle/BluetoothController.m index 82181ab24..d90a49a0d 100644 --- a/PrefsBundle/BluetoothController.m +++ b/PrefsBundle/BluetoothController.m @@ -46,12 +46,12 @@ static void bt_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t* pa } +static BluetoothController* sharedInstance = nil; + @implementation BluetoothController @synthesize listener; -static BluetoothController* sharedInstance = nil; - +(BluetoothController*) sharedInstance{ if (!sharedInstance) { sharedInstance = [[self alloc] init]; diff --git a/PrefsBundle/PrefsViewController.m b/PrefsBundle/PrefsViewController.m index a9f144bbc..ec72f778a 100644 --- a/PrefsBundle/PrefsViewController.m +++ b/PrefsBundle/PrefsViewController.m @@ -56,12 +56,13 @@ - (BOOL)isWildcat; @end -@interface BluetoothPSViewController : PSViewController +@interface BluetoothPSViewController : PSViewController { BluetoothTableViewAdapter *tableViewAdapter; BluetoothController *bluetoothController; UIView *_wrapperView; // for < 3.2 UITableView *tableView; BOOL initialized; +} @end @implementation BluetoothPSViewController