winamp/Src/Plugins/Library/ml_playlists/PlaylistView.h
2024-09-24 14:54:57 +02:00

32 lines
805 B
C++

#ifndef NULLSOFT_ML_PLAYLISTS_PLAYLISTVIEW_H
#define NULLSOFT_ML_PLAYLISTS_PLAYLISTVIEW_H
#include "../nu/listview.h"
#define WM_PLAYLIST WM_USER + 1980
#define WM_PLAYLIST_RELOAD WM_PLAYLIST + 1
#define WM_PLAYLIST_UNLOAD WM_PLAYLIST + 2
extern int we_are_drag_and_dropping;
extern W_ListView playlist_list;
class PlayListView : public W_ListView
{
public:
};
// TODO: make a nice pretty class to wrap the playlist view
BOOL playlist_Notify( HWND hwndDlg, WPARAM wParam, LPARAM lParam );
void PlaySelection( int enqueue, int is_all );
void UpdatePlaylistTime( HWND hwndDlg );
void TagEditor( HWND hwnd );
void SyncPlaylist();
void Playlist_DeleteSelected( int selected );
void Playlist_ResetSelected();
void EditEntry( HWND parent );
void DownloadSelectedEntries( HWND hwndDlg );
#endif