Commit 960e3780 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: expand the documentation for our single (known) private API use

parent d31d2c21
......@@ -430,10 +430,11 @@
@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)
......@@ -498,9 +499,9 @@
@"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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment