Commit dac76415 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed compilation when using the 10.5 SDK

parent 01d1a3a6
......@@ -27,10 +27,7 @@
#import <Cocoa/Cocoa.h>
#import "PXSourceList.h"
#import <vlc_input.h>
#ifndef MAC_OS_X_VERSION_10_6
@protocol NSWindowDelegate <NSObject> @end
#endif
#import "misc.h"
@interface VLCMainWindow : NSWindow <PXSourceListDataSource, PXSourceListDelegate, NSWindowDelegate> {
IBOutlet id o_play_btn;
......@@ -127,3 +124,4 @@
}
- (void)loadImagesInDarkStyle:(BOOL)b_value;
@end
......@@ -29,7 +29,6 @@
#import "CoreInteraction.h"
#import "AudioEffects.h"
#import "MainMenu.h"
#import "misc.h"
#import "controls.h" // TODO: remove me
#import "SideBarItem.h"
#import <vlc_playlist.h>
......
......@@ -37,6 +37,7 @@
#include <Cocoa/Cocoa.h>
#import "SPMediaKeyTap.h" /* for the media key support */
#import "misc.h"
/*****************************************************************************
* Local prototypes.
......@@ -78,9 +79,6 @@ struct intf_sys_t
/*****************************************************************************
* VLCMain interface
*****************************************************************************/
#ifndef MAC_OS_X_VERSION_10_6
@protocol NSWindowDelegate <NSObject> @end
#endif
@class AppleRemote;
@class VLCInformation;
@class VLCEmbeddedWindow;
......
......@@ -290,7 +290,7 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
case INPUT_EVENT_DEAD:
[[VLCMain sharedInstance] updateName];
[[VLCMain sharedInstance] updateTimeSlider];
[[VLCMain sharedInstance] updatePlaybackPosition];
break;
case INPUT_EVENT_ABORT:
......
......@@ -22,6 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#import "PXSourceList.h"
/*****************************************************************************
* VLCPlaylistView interface
*****************************************************************************/
......@@ -34,9 +36,6 @@
/*****************************************************************************
* VLCPlaylistCommon interface
*****************************************************************************/
#ifndef MAC_OS_X_VERSION_10_6
@protocol NSOutlineViewDataSource <NSObject> @end
#endif
@interface VLCPlaylistCommon : NSObject <NSOutlineViewDataSource, NSOutlineViewDelegate>
{
IBOutlet id o_tc_name;
......
......@@ -29,6 +29,7 @@
#ifndef MAC_OS_X_VERSION_10_6
@protocol NSComboBoxDataSource <NSObject> @end
@protocol NSTextFieldDelegate <NSObject> @end
@protocol NSTableViewDataSource <NSObject> @end
#endif
static NSMenu *o_keys_menu = nil;
......
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