]> git.sesse.net Git - vlc/commitdiff
macosx: internalize private playlist internals
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 3 Oct 2013 18:06:30 +0000 (20:06 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 3 Oct 2013 18:27:01 +0000 (20:27 +0200)
modules/gui/macosx/playlist.h
modules/gui/macosx/playlist.m

index 67c273bd4737bc612b28a3601d012653d9b31e1c..543ebe33841ef8eaec0d527b7fad693500b51fdb 100644 (file)
@@ -57,7 +57,6 @@
     IBOutlet VLCPlaylistView* o_outline_view_other;
 
     NSMutableDictionary *o_outline_dict;
-    playlist_item_t * p_current_root_item;
 }
 
 - (void)setPlaylistRoot: (playlist_item_t *)root_item;
     IBOutlet id o_save_accessory_text;
 
     IBOutlet id o_playlist_header;
-
-    NSImage *o_descendingSortingImage;
-    NSImage *o_ascendingSortingImage;
-
-    NSMutableArray *o_nodes_array;
-    NSMutableArray *o_items_array;
-
-    BOOL b_selected_item_met;
-    BOOL b_isSortDescending;
-    id o_tc_sortColumn;
 }
 
 - (void)searchfieldChanged:(NSNotification *)o_notification;
index ad64281a5b9d41a5a65fd7c467376b2744b196bd..e6007e80c9143f8b923b23be383c8418909c8359 100644 (file)
  * This class the superclass of the VLCPlaylist and VLCPlaylistWizard.
  * It contains the common methods and elements of these 2 entities.
  *****************************************************************************/
+@interface VLCPlaylistCommon ()
+{
+    playlist_item_t * p_current_root_item;
+}
+@end
+
 @implementation VLCPlaylistCommon
 
 - (id)init
 /*****************************************************************************
  * VLCPlaylist implementation
  *****************************************************************************/
-@interface VLCPlaylist (Internal)
+@interface VLCPlaylist ()
+{
+    NSImage *o_descendingSortingImage;
+    NSImage *o_ascendingSortingImage;
+
+    NSMutableArray *o_nodes_array;
+    NSMutableArray *o_items_array;
+
+    BOOL b_selected_item_met;
+    BOOL b_isSortDescending;
+    id o_tc_sortColumn;
+}
+
 - (void)saveTableColumns;
 @end