X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=blobdiff_plain;f=extras%2FMacOSX%2FVLC_app%2FSources%2FVLCController.h;h=1ac6321d3e2b070db372f9baa34288d1923263a0;hp=e05ce30f37ec2a54ca37f544ca715cc2e3a0b9f7;hb=9d6eca0ca3378d43353c4b248d7824ffee7b6ae1;hpb=7036039baf7039c089b30b2b8970895f1f47337d diff --git a/extras/MacOSX/VLC_app/Sources/VLCController.h b/extras/MacOSX/VLC_app/Sources/VLCController.h index e05ce30f37..1ac6321d3e 100644 --- a/extras/MacOSX/VLC_app/Sources/VLCController.h +++ b/extras/MacOSX/VLC_app/Sources/VLCController.h @@ -25,26 +25,14 @@ #import #import -#import "VLCMediaArrayController.h" -#import "VLCBrowsableVideoView.h" - @class VLCMainWindow; -#define VLCPanic( ex ) __VLCPanic( ex, __FUNCTION__, __FILE__, __LINE__ ) -static inline void __VLCPanic( const char * str, const char * function, const char * file, int line_number ) -{ - NSRunCriticalAlertPanel( @"Error", [NSString stringWithFormat:@"The following error was encountered: %s (%s:%d %s)", str, file, line_number, function], @"Quit", nil, nil ); - exit( -1 ); -} - @interface VLCController : NSObject { - NSMutableArray * arrayOfPlaylists; - NSArray * arrayOfMasters; - NSArray * arrayOfVideoViewMasters; + NSArray * categories; } -@property (readonly, retain) NSArray * arrayOfMasters; -@property (readonly, retain) NSArray * arrayOfVideoViewMasters; +@property (readonly, retain) NSArray * categories; - (void)newMainWindow:(id)sender; +- (void)addPlaylist:(id)sender; @end