示例#1
0
            public PlaylistsCollection(Foobar2000.Application07 foobar)
            {
                mDispatcher    = Dispatcher.CurrentDispatcher;
                mPlaylists     = foobar.Playlists;
                mEntireLibrary = new EntireLibraryMockPlaylist(foobar);

                mPlaylists.PlaylistAdded      += OnPlaylistAdded;
                mPlaylists.PlaylistRemoved    += OnPlaylistRemoved;
                mPlaylists.PlaylistsReordered += OnPlaylistsReordered;
            }
示例#2
0
 public EntireLibraryMockPlaylist(Foobar2000.Application07 foobar)
 {
     mMediaLibrary = foobar.MediaLibrary;
 }