[vlc-commits] macosx: fix selectorNotFound warnings of when compiling with llvm-gcc

David Fuhrmann git at videolan.org
Sun Nov 18 13:21:46 CET 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sun Nov 18 13:19:52 2012 +0100| [c45da6baae28f825e49044babacc73592ea6721f] | committer: David Fuhrmann

macosx: fix selectorNotFound warnings of when compiling with llvm-gcc

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c45da6baae28f825e49044babacc73592ea6721f
---

 modules/gui/macosx/AudioEffects.m   |    6 ++++++
 modules/gui/macosx/ControlsBar.m    |    7 +++++++
 modules/gui/macosx/ConvertAndSave.m |    3 ++-
 modules/gui/macosx/MainWindow.m     |    5 +++--
 modules/gui/macosx/VideoEffects.m   |    4 ++++
 modules/gui/macosx/Windows.m        |    7 +++++++
 modules/gui/macosx/bookmarks.m      |    4 ++++
 modules/gui/macosx/intf.m           |   12 +++++++++---
 modules/gui/macosx/playlist.m       |    4 ++++
 9 files changed, 46 insertions(+), 6 deletions(-)

diff --git a/modules/gui/macosx/AudioEffects.m b/modules/gui/macosx/AudioEffects.m
index f9d4331..db966be 100644
--- a/modules/gui/macosx/AudioEffects.m
+++ b/modules/gui/macosx/AudioEffects.m
@@ -37,6 +37,12 @@
 
 #import <math.h>
 
+ at interface VLCAudioEffects (Internal)
+- (void)resetProfileSelector;
+- (void)updatePresetSelector;
+- (void)setBandSliderValuesForPreset:(NSInteger)presetID;
+ at end
+
 #pragma mark -
 #pragma mark Initialization
 
diff --git a/modules/gui/macosx/ControlsBar.m b/modules/gui/macosx/ControlsBar.m
index 6ea8edf..ab5bff0 100644
--- a/modules/gui/macosx/ControlsBar.m
+++ b/modules/gui/macosx/ControlsBar.m
@@ -368,6 +368,13 @@
  *  Holds all specific outlets, actions and code for the main window controls bar.
  *****************************************************************************/
 
+ at interface VLCMainWindowControlsBar (Internal)
+- (void)addJumpButtons:(BOOL)b_fast;
+- (void)removeJumpButtons:(BOOL)b_fast;
+- (void)addPlaymodeButtons:(BOOL)b_fast;
+- (void)removePlaymodeButtons:(BOOL)b_fast;
+ at end
+
 @implementation VLCMainWindowControlsBar
 
 - (void)awakeFromNib
diff --git a/modules/gui/macosx/ConvertAndSave.m b/modules/gui/macosx/ConvertAndSave.m
index 8fbac24..00146a3 100644
--- a/modules/gui/macosx/ConvertAndSave.m
+++ b/modules/gui/macosx/ConvertAndSave.m
@@ -44,7 +44,7 @@
 #define ASF 12
 /* 13-15 are present, but not set */
 
- at interface VLCConvertAndSave ()
+ at interface VLCConvertAndSave (Internal)
 - (void)updateDropView;
 - (void)updateOKButton;
 - (void)resetCustomizationSheetBasedOnProfile:(NSString *)profileString;
@@ -53,6 +53,7 @@
 - (NSString *)composedOptions;
 - (void)updateCurrentProfile;
 - (void)storeProfilesOnDisk;
+- (void)recreateProfilePopup;
 @end
 
 @implementation VLCConvertAndSave
diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 42f9017..c2217f6 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -45,11 +45,12 @@
 #import "VLCVoutWindowController.h"
 
 
- at interface VLCMainWindow ()
+ at interface VLCMainWindow (Internal)
 - (void)resizePlaylistAfterCollapse;
 - (void)makeSplitViewVisible;
 - (void)makeSplitViewHidden;
-
+- (void)showPodcastControls;
+- (void)hidePodcastControls;
 @end
 
 
diff --git a/modules/gui/macosx/VideoEffects.m b/modules/gui/macosx/VideoEffects.m
index e3dffc8..bc0cb21 100644
--- a/modules/gui/macosx/VideoEffects.m
+++ b/modules/gui/macosx/VideoEffects.m
@@ -30,6 +30,10 @@
 #import "VideoEffects.h"
 #import "SharedDialogs.h"
 
+ at interface VLCVideoEffects (Internal)
+- (void)resetProfileSelector;
+ at end
+
 #pragma mark -
 #pragma mark Initialization
 
diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index 67ab5d0..4155f72 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -228,6 +228,13 @@
  *  Common code for main window, detached window and extra video window
  *****************************************************************************/
 
+ at interface VLCVideoWindowCommon (Internal)
+- (void)customZoom:(id)sender;
+- (void)hasBecomeFullscreen;
+- (void)leaveFullscreenAndFadeOut:(BOOL)fadeout;
+- (void)hasEndedFullscreen;
+ at end
+
 @implementation VLCVideoWindowCommon
 
 @synthesize videoView=o_video_view;
diff --git a/modules/gui/macosx/bookmarks.m b/modules/gui/macosx/bookmarks.m
index aa87abf..3a64d14 100644
--- a/modules/gui/macosx/bookmarks.m
+++ b/modules/gui/macosx/bookmarks.m
@@ -39,6 +39,10 @@
 #import <vlc_interface.h>
 #import "CompatibilityFixes.h"
 
+ at interface VLCBookmarks (Internal)
+- (void)initStrings;
+ at end
+
 @implementation VLCBookmarks
 
 static VLCBookmarks *_o_sharedInstance = nil;
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 3b21698..59a82e2 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -543,7 +543,13 @@ audio_output_t *getAout(void)
 #pragma mark Private
 
 @interface VLCMain ()
-- (void)_removeOldPreferences;
+- (void)removeOldPreferences;
+ at end
+
+ at interface VLCMain (Internal)
+- (void)handlePortMessage:(NSPortMessage *)o_msg;
+- (void)resetMediaKeyJump;
+- (void)coreChangedMediaKeySupportSetting: (NSNotification *)o_notification;
 @end
 
 /*****************************************************************************
@@ -723,7 +729,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     }
     [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(coreChangedMediaKeySupportSetting:) name: @"VLCMediaKeySupportSettingChanged" object: nil];
 
-    [self _removeOldPreferences];
+    [self removeOldPreferences];
 
     /* Handle sleep notification */
     [[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self selector:@selector(computerWillSleep:)
@@ -1733,7 +1739,7 @@ static VLCMain *_o_sharedMainInstance = nil;
 #pragma mark -
 #pragma mark Remove old prefs
 
-- (void)_removeOldPreferences
+- (void)removeOldPreferences
 {
     static NSString * kVLCPreferencesVersion = @"VLCPreferencesVersion";
     static const int kCurrentPreferencesVersion = 2;
diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 682be91..ee1d06a 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -403,6 +403,10 @@
 /*****************************************************************************
  * VLCPlaylist implementation
  *****************************************************************************/
+ at interface VLCPlaylist (Internal)
+- (void)saveTableColumns;
+ at end
+
 @implementation VLCPlaylist
 
 + (void)initialize{



More information about the vlc-commits mailing list