]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/playlist.h
macosx: fill the side bar with SDs, etc.
[vlc] / modules / gui / macosx / playlist.h
index f4fe1057957b2112ca70e194ae64aa35ffd3307a..b356ddaab4e583e7ec425ea50f9cca4e6c5bf9f0 100644 (file)
 /*****************************************************************************
  * VLCPlaylistCommon interface
  *****************************************************************************/
-@interface VLCPlaylistCommon : NSObject
+#ifndef MAC_OS_X_VERSION_10_6
+@protocol NSOutlineViewDataSource <NSObject> @end
+#endif
+@interface VLCPlaylistCommon : NSObject <NSOutlineViewDataSource, NSOutlineViewDelegate>
 {
     IBOutlet id o_tc_name;
     IBOutlet id o_tc_author;
     IBOutlet id o_tc_duration;
-    IBOutlet id o_outline_view;
+    IBOutlet VLCPlaylistView* o_outline_view;
 
     IBOutlet id o_tc_name_other;
     IBOutlet id o_tc_author_other;
     IBOutlet id o_tc_duration_other;
-    IBOutlet id o_outline_view_other;
+    IBOutlet VLCPlaylistView* o_outline_view_other;
 
     NSMutableDictionary *o_outline_dict;
 }