[vlc-devel] [PATCH] macosx: Declare MainWindow private methods in a category.
Brendon Justin
brendonjustin at gmail.com
Thu Aug 16 03:34:07 CEST 2012
Fixes a handful of compiler warnings from methods called before their
declarations.
---
modules/gui/macosx/MainWindow.m | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 9c1b02f..276dafd 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -42,6 +42,29 @@
#import <vlc_services_discovery.h>
#import <vlc_aout_intf.h>
+ at interface VLCMainWindow ()
+- (void)addJumpButtons;
+- (void)removeJumpButtons;
+- (void)addPlaymodeButtons;
+- (void)removePlaymodeButtons;
+
+- (void)resetPreviousButton;
+- (void)resetBackwardSkip;
+- (IBAction)prev:(id)sender;
+- (IBAction)backward:(id)sender;
+- (void)resetNextButton;
+- (void)resetForwardSkip;
+- (IBAction)next:(id)sender;
+- (IBAction)forward:(id)sender;
+- (void)resizePlaylistAfterCollapse;
+- (void)makeSplitViewVisible;
+- (void)makeSplitViewHidden;
+
+- (NSRect)customConstrainFrameRect: (NSRect)frameRect toScreen: (NSScreen*)screen;
+
+- (NSString *)getCurrentTimeAsString:(input_thread_t *)p_input;
+ at end
+
@implementation VLCMainWindow
static const float f_min_video_height = 70.0;
--
1.7.9.6 (Apple Git-31.1)
More information about the vlc-devel
mailing list