PlaylistView.h 805 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef NULLSOFT_ML_PLAYLISTS_PLAYLISTVIEW_H
  2. #define NULLSOFT_ML_PLAYLISTS_PLAYLISTVIEW_H
  3. #include "../nu/listview.h"
  4. #define WM_PLAYLIST WM_USER + 1980
  5. #define WM_PLAYLIST_RELOAD WM_PLAYLIST + 1
  6. #define WM_PLAYLIST_UNLOAD WM_PLAYLIST + 2
  7. extern int we_are_drag_and_dropping;
  8. extern W_ListView playlist_list;
  9. class PlayListView : public W_ListView
  10. {
  11. public:
  12. };
  13. // TODO: make a nice pretty class to wrap the playlist view
  14. BOOL playlist_Notify( HWND hwndDlg, WPARAM wParam, LPARAM lParam );
  15. void PlaySelection( int enqueue, int is_all );
  16. void UpdatePlaylistTime( HWND hwndDlg );
  17. void TagEditor( HWND hwnd );
  18. void SyncPlaylist();
  19. void Playlist_DeleteSelected( int selected );
  20. void Playlist_ResetSelected();
  21. void EditEntry( HWND parent );
  22. void DownloadSelectedEntries( HWND hwndDlg );
  23. #endif