AudioCollectionModel.swift 647 B

123456789101112131415161718192021
  1. /*****************************************************************************
  2. * AudioCollectionModel.swift
  3. *
  4. * Copyright © 2019 VLC authors and VideoLAN
  5. *
  6. * Authors: Edgar Fouillet <vlc # edgar.fouillet.eu>
  7. *
  8. * Refer to the COPYING file of the official project for license.
  9. *****************************************************************************/
  10. import Foundation
  11. protocol AudioCollectionModel: MLBaseModel { }
  12. extension AudioCollectionModel {
  13. func delete(_ items: [VLCMLObject]) {
  14. preconditionFailure("AudioCollectionModel: Audio collections can not be deleted, they disappear when their last title got deleted")
  15. }
  16. }