Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
f2ce67d1
Commit
f2ce67d1
authored
Oct 20, 2015
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
movie view controller: reduce external API
parent
9ff95208
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
Sources/VLCMovieViewController.h
Sources/VLCMovieViewController.h
+0
-3
Sources/VLCMovieViewController.m
Sources/VLCMovieViewController.m
+9
-8
No files found.
Sources/VLCMovieViewController.h
View file @
f2ce67d1
...
...
@@ -103,7 +103,4 @@
-
(
BOOL
)
rotationIsDisabled
;
-
(
void
)
setControlsHidden
:(
BOOL
)
hidden
animated
:(
BOOL
)
animated
;
-
(
void
)
showStatusMessage
:(
NSString
*
)
statusMessage
;
@end
Sources/VLCMovieViewController.m
View file @
f2ce67d1
...
...
@@ -495,6 +495,12 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
return
YES
;
}
-
(
void
)
dismissViewControllerAnimated
:(
BOOL
)
flag
completion
:(
void
(
^
)(
void
))
completion
{
[
self
setControlsHidden
:
YES
animated
:
animated
];
[
super
dismissViewControllerAnimated
:
flag
completion
:
completion
];
}
-
(
void
)
updateDefaults
{
NSUserDefaults
*
defaults
=
[
NSUserDefaults
standardUserDefaults
];
...
...
@@ -843,7 +849,7 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
-
(
void
)
showStatusMessage
:(
NSString
*
)
statusMessage
forPlaybackController
:(
VLCPlaybackController
*
)
controller
{
[
self
showStatusMessage
:
statusMessage
];
[
self
.
statusLabel
showStatusMessage
:
statusMessage
];
}
-
(
void
)
displayMetadataForPlaybackController
:(
VLCPlaybackController
*
)
controller
...
...
@@ -1010,11 +1016,6 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
[
self
_resetIdleTimer
];
}
-
(
void
)
showStatusMessage
:(
NSString
*
)
statusMessage
{
[
self
.
statusLabel
showStatusMessage
:
statusMessage
];
}
#pragma mark - multi-select delegation
-
(
void
)
toggleUILock
...
...
@@ -1304,10 +1305,10 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
if
([
vpc
.
mediaPlayer
isPlaying
])
{
[
vpc
.
listPlayer
pause
];
[
self
.
statusLabel
showStatusMessage
:
@" ▌▌"
];
[
self
.
statusLabel
showStatusMessage
:
@" ▌▌"
forPlaybackController
:
nil
];
}
else
{
[
vpc
.
listPlayer
play
];
[
self
.
statusLabel
showStatusMessage
:
@" ►"
];
[
self
.
statusLabel
showStatusMessage
:
@" ►"
forPlaybackController
:
nil
];
}
}
...
...
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