Commit e85d470c authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx/AppleRemote: remove unused singleton

parent 09cd4425
...@@ -105,7 +105,6 @@ The class is not thread safe ...@@ -105,7 +105,6 @@ The class is not thread safe
id delegate; id delegate;
} }
+ (AppleRemote *)sharedInstance;
@property (readonly) int remoteId; @property (readonly) int remoteId;
@property (readonly) BOOL remoteAvailable; @property (readonly) BOOL remoteAvailable;
......
...@@ -66,18 +66,6 @@ const NSTimeInterval HOLD_RECOGNITION_TIME_INTERVAL=0.4; ...@@ -66,18 +66,6 @@ const NSTimeInterval HOLD_RECOGNITION_TIME_INTERVAL=0.4;
#pragma public interface #pragma public interface
+ (AppleRemote *)sharedInstance
{
static AppleRemote *sharedInstance = nil;
static dispatch_once_t pred;
dispatch_once(&pred, ^{
sharedInstance = [AppleRemote new];
});
return sharedInstance;
}
- (id)init - (id)init
{ {
self = [super init]; self = [super init];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment