]> git.sesse.net Git - vlc/commitdiff
macosx: expand the documentation for our single (known) private API use
authorFelix Paul Kühne <fkuehne@videolan.org>
Mon, 25 Jun 2012 17:01:21 +0000 (19:01 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Mon, 25 Jun 2012 17:01:55 +0000 (19:01 +0200)
modules/gui/macosx/playlist.m

index 618a156756001713a98c6090ebd0ff3f1dd90614..0b301eeab86a743051d00f3401b785b9bc67811d 100644 (file)
 @end
 
 /*****************************************************************************
- * extension to NSOutlineView's interface to fix compilation warnings
- * and let us access these 2 functions properly
- * this uses a private Apple-API, but works fine on all current OSX releases
- * keep checking for compatiblity with future releases though
+ * An extension to NSOutlineView's interface to fix compilation warnings
+ * and let us access these 2 functions properly.
+ * This uses a private API, but works fine on all current OSX releases.
+ * Radar ID 11739459 request a public API for this. However, it is probably
+ * easier and faster to recreate similar looking bitmaps ourselves.
  *****************************************************************************/
 
 @interface NSOutlineView (UndocumentedSortImages)
       @"VLCPlaylistItemPboardType", nil]];
     [o_outline_view_other setIntercellSpacing: NSMakeSize (0.0, 1.0)];
 
-    /* This uses private Apple API which works fine until 10.5.
-     * We need to keep checking in the future!
-     * These methods are being added artificially to NSOutlineView's interface above */
+    /* This uses a private API, but works fine on all current OSX releases.
+     * Radar ID 11739459 request a public API for this. However, it is probably
+     * easier and faster to recreate similar looking bitmaps ourselves. */
     o_ascendingSortingImage = [[NSOutlineView class] _defaultTableHeaderSortImage];
     o_descendingSortingImage = [[NSOutlineView class] _defaultTableHeaderReverseSortImage];