Commit 82f6dd20 authored by Felix Kühne's avatar Felix Kühne

macosx: quite obviously, it's no good idea to require protocols which are...

macosx: quite obviously, it's no good idea to require protocols which are available in future APIs only *coughcough*

This partially reverts [52b21462]
parent 52b21462
......@@ -27,7 +27,7 @@
#import "misc.h"
@interface VLCEmbeddedWindow : NSWindow <NSWindowDelegate, NSAnimationDelegate>
@interface VLCEmbeddedWindow : NSWindow
{
IBOutlet id o_btn_backward;
IBOutlet id o_btn_forward;
......
......@@ -90,7 +90,7 @@ struct intf_sys_t
@class VLCEmbeddedWindow;
@class VLCControls;
@class VLCPlaylist;
@interface VLCMain : NSObject <NSWindowDelegate, NSToolbarDelegate>
@interface VLCMain : NSObject
{
intf_thread_t *p_intf; /* The main intf object */
id o_prefs; /* VLCPrefs */
......
......@@ -64,7 +64,7 @@
* Missing extension to NSWindow
*****************************************************************************/
@interface VLCWindow : NSWindow <NSWindowDelegate>
@interface VLCWindow : NSWindow
{
BOOL b_canBecomeKeyWindow;
BOOL b_isset_canBecomeKeyWindow;
......
......@@ -34,7 +34,7 @@
/*****************************************************************************
* VLCPlaylistCommon interface
*****************************************************************************/
@interface VLCPlaylistCommon : NSObject <NSComboBoxDataSource>
@interface VLCPlaylistCommon : NSObject
{
IBOutlet id o_tc_name;
IBOutlet id o_tc_author;
......
......@@ -69,7 +69,7 @@ static NSMenu *o_keys_menu = nil;
@end
@interface StringListConfigControl : VLCConfigControl <NSComboBoxDataSource>
@interface StringListConfigControl : VLCConfigControl
{
NSComboBox *o_combo;
}
......@@ -104,7 +104,7 @@ static NSMenu *o_keys_menu = nil;
@end
@interface IntegerConfigControl : VLCConfigControl <NSTextFieldDelegate>
@interface IntegerConfigControl : VLCConfigControl
{
NSTextField *o_textfield;
NSStepper *o_stepper;
......@@ -118,7 +118,7 @@ static NSMenu *o_keys_menu = nil;
@end
@interface IntegerListConfigControl : VLCConfigControl <NSComboBoxDataSource>
@interface IntegerListConfigControl : VLCConfigControl
{
NSComboBox *o_combo;
}
......@@ -128,7 +128,7 @@ static NSMenu *o_keys_menu = nil;
@end
@interface RangedIntegerConfigControl : VLCConfigControl <NSTextFieldDelegate>
@interface RangedIntegerConfigControl : VLCConfigControl
{
NSSlider *o_slider;
NSTextField *o_textfield;
......@@ -154,7 +154,7 @@ static NSMenu *o_keys_menu = nil;
@end
@interface FloatConfigControl : VLCConfigControl <NSTextFieldDelegate>
@interface FloatConfigControl : VLCConfigControl
{
NSTextField *o_textfield;
NSStepper *o_stepper;
......@@ -168,7 +168,7 @@ static NSMenu *o_keys_menu = nil;
@end
@interface RangedFloatConfigControl : VLCConfigControl <NSTextFieldDelegate>
@interface RangedFloatConfigControl : VLCConfigControl
{
NSSlider *o_slider;
NSTextField *o_textfield;
......@@ -194,7 +194,7 @@ static NSMenu *o_keys_menu = nil;
@end
@interface ModuleListConfigControl : VLCConfigControl <NSTableViewDataSource>
@interface ModuleListConfigControl : VLCConfigControl
{
NSTextField *o_textfield;
NSScrollView *o_scrollview;
......
......@@ -25,7 +25,7 @@
#import "intf.h"
#import <vlc_common.h>
@interface VLCSimplePrefs : NSObject <NSToolbarDelegate>
@interface VLCSimplePrefs : NSObject
{
IBOutlet id o_audio_dolby_pop;
IBOutlet id o_audio_dolby_txt;
......
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