[vlc-commits] macosx: internalize private playlist internals

Felix Paul Kühne git at videolan.org
Thu Oct 3 20:28:47 CEST 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Oct  3 20:06:30 2013 +0200| [69c5aed9d92bbf2df5cce2e69b0c609360cfce8f] | committer: Felix Paul Kühne

macosx: internalize private playlist internals

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=69c5aed9d92bbf2df5cce2e69b0c609360cfce8f
---

 modules/gui/macosx/playlist.h |   11 -----------
 modules/gui/macosx/playlist.m |   20 +++++++++++++++++++-
 2 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/modules/gui/macosx/playlist.h b/modules/gui/macosx/playlist.h
index 67c273b..543ebe3 100644
--- a/modules/gui/macosx/playlist.h
+++ b/modules/gui/macosx/playlist.h
@@ -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;
@@ -106,16 +105,6 @@
     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;
diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index ad64281..e6007e8 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -127,6 +127,12 @@
  * This class the superclass of the VLCPlaylist and VLCPlaylistWizard.
  * It contains the common methods and elements of these 2 entities.
  *****************************************************************************/
+ at interface VLCPlaylistCommon ()
+{
+    playlist_item_t * p_current_root_item;
+}
+ at end
+
 @implementation VLCPlaylistCommon
 
 - (id)init
@@ -401,7 +407,19 @@
 /*****************************************************************************
  * VLCPlaylist implementation
  *****************************************************************************/
- at interface VLCPlaylist (Internal)
+ at 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
 



More information about the vlc-commits mailing list