Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
e85d470c
Commit
e85d470c
authored
Jul 21, 2015
by
Felix Paul Kühne
Browse files
macosx/AppleRemote: remove unused singleton
parent
09cd4425
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/AppleRemote.h
View file @
e85d470c
...
@@ -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
;
...
...
modules/gui/macosx/AppleRemote.m
View file @
e85d470c
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment