Commit 027ff518 authored by Brendon Justin's avatar Brendon Justin Committed by Felix Paul Kühne

macosx: Declare all of MainWindow's methods in its interfaces

Fixes compiler warnings for a few methods without declarations called
before their definitions.
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 57b858c3
...@@ -148,7 +148,11 @@ ...@@ -148,7 +148,11 @@
+ (VLCMainWindow *)sharedInstance; + (VLCMainWindow *)sharedInstance;
- (IBAction)play:(id)sender; - (IBAction)play:(id)sender;
- (IBAction)prev:(id)sender;
- (IBAction)backward:(id)sender;
- (IBAction)bwd:(id)sender; - (IBAction)bwd:(id)sender;
- (IBAction)next:(id)sender;
- (IBAction)forward:(id)sender;
- (IBAction)fwd:(id)sender; - (IBAction)fwd:(id)sender;
- (IBAction)stop:(id)sender; - (IBAction)stop:(id)sender;
- (IBAction)togglePlaylist:(id)sender; - (IBAction)togglePlaylist:(id)sender;
......
...@@ -42,6 +42,25 @@ ...@@ -42,6 +42,25 @@
#import <vlc_services_discovery.h> #import <vlc_services_discovery.h>
#import <vlc_aout_intf.h> #import <vlc_aout_intf.h>
@interface VLCMainWindow ()
- (void)addJumpButtons:(BOOL)b_fast;
- (void)removeJumpButtons:(BOOL)b_fast;
- (void)addPlaymodeButtons:(BOOL)b_fast;
- (void)removePlaymodeButtons:(BOOL)b_fast;
- (void)resetPreviousButton;
- (void)resetBackwardSkip;
- (void)resetNextButton;
- (void)resetForwardSkip;
- (void)resizePlaylistAfterCollapse;
- (void)makeSplitViewVisible;
- (void)makeSplitViewHidden;
- (NSRect)customConstrainFrameRect: (NSRect)frameRect toScreen: (NSScreen*)screen;
- (NSString *)getCurrentTimeAsString:(input_thread_t *)p_input;
@end
@implementation VLCMainWindow @implementation VLCMainWindow
static const float f_min_video_height = 70.0; static const float f_min_video_height = 70.0;
......
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