]> git.sesse.net Git - vlc/commit
macosx: Add new playlist model
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Sat, 15 Nov 2014 11:33:30 +0000 (12:33 +0100)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Tue, 30 Dec 2014 15:10:48 +0000 (16:10 +0100)
commitc39aaf28bcd9e628dc5f13b6e0a01528eb476e68
treec7dbe936a6a5016faced7225c742a54d123ca8fa
parentda0b9bbc259d0a796d38247ab3cd235a2fceccc8
macosx: Add new playlist model

The current playlist model directly operates on the core playlist
datastructures without proper locking for a complete playlist table
reload/update. This resulted in various ugly hacks and workarounds.

The new playlist model encapsulates the data in own objects like
in the qt interface. This allows a much easier integration with
the table view and proper updates from the core playlist.

This way, the previous playlist objects, stored in an ugly map with
pointer strings as keys, pointing to the same pointer inside a
NSValue, is obsolete finally. :-)
modules/gui/macosx/CoreInteraction.m
modules/gui/macosx/MainWindow.m
modules/gui/macosx/Modules.am
modules/gui/macosx/PLItem.h [new file with mode: 0644]
modules/gui/macosx/PLItem.m [new file with mode: 0644]
modules/gui/macosx/PLModel.h [new file with mode: 0644]
modules/gui/macosx/PLModel.m [new file with mode: 0644]
modules/gui/macosx/intf.m
modules/gui/macosx/playlist.h
modules/gui/macosx/playlist.m