浏览代码

MediaLibraryBaseModel: Remove old notifications

Soomin Lee 7 年之前
父节点
当前提交
62202c1bee
共有 1 个文件被更改,包括 0 次插入14 次删除
  1. 0 14
      SharedSources/MediaLibraryModel/MediaLibraryBaseModel.swift

+ 0 - 14
SharedSources/MediaLibraryModel/MediaLibraryBaseModel.swift

@@ -9,19 +9,6 @@
  * Refer to the COPYING file of the official project for license.
  *****************************************************************************/
 
-extension Notification.Name {
-    static let VLCMoviesDidChangeNotification = Notification.Name("MoviesDidChangeNotfication")
-    static let VLCEpisodesDidChangeNotification = Notification.Name("EpisodesDidChangeNotfication")
-    static let VLCArtistsDidChangeNotification = Notification.Name("ArtistsDidChangeNotfication")
-    static let VLCAlbumsDidChangeNotification = Notification.Name("AlbumsDidChangeNotfication")
-    static let VLCTracksDidChangeNotification = Notification.Name("TracksDidChangeNotfication")
-    static let VLCGenresDidChangeNotification = Notification.Name("GenresDidChangeNotfication")
-    static let VLCAudioPlaylistsDidChangeNotification = Notification.Name("AudioPlaylistsDidChangeNotfication")
-    static let VLCVideoPlaylistsDidChangeNotification = Notification.Name("VideoPlaylistsDidChangeNotfication")
-    static let VLCVideosDidChangeNotification = Notification.Name("VideosDidChangeNotfication")
-    static let VLCAudioDidChangeNotification = Notification.Name("AudioDidChangeNotfication")
-}
-
 protocol MediaLibraryModelView {
     func dataChanged()
 }
@@ -35,7 +22,6 @@ protocol MediaLibraryBaseModel: class {
     var view: MediaLibraryModelView? { get set }
 
     var indicatorName: String { get }
-    var notificaitonName: Notification.Name { get }
 
     func append(_ item: MLType)
     func isIncluded(_ item: MLType)