mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-01 02:26:51 -05:00
36 lines
No EOL
703 B
C++
36 lines
No EOL
703 B
C++
#pragma once
|
|
#include "../../General/gen_ml/ml.h" // for itemRecordW
|
|
#include <vector>
|
|
|
|
struct WifiTrack
|
|
{
|
|
WifiTrack();
|
|
WifiTrack(const WifiTrack ©);
|
|
~WifiTrack();
|
|
WifiTrack(const char *id, const itemRecordW *record, const wchar_t *filename);
|
|
wchar_t *id;
|
|
wchar_t *artist;
|
|
wchar_t *album;
|
|
wchar_t *composer;
|
|
int duration;
|
|
int track;
|
|
int year;
|
|
int size;
|
|
wchar_t *title;
|
|
wchar_t *mime_type;
|
|
__time64_t last_updated;
|
|
wchar_t *ext;
|
|
};
|
|
|
|
class WifiPlaylist
|
|
{
|
|
public:
|
|
WifiPlaylist();
|
|
WifiPlaylist(const char *id, const wchar_t *name);
|
|
~WifiPlaylist();
|
|
void SetName(const wchar_t *new_name);
|
|
typedef std::vector<WifiTrack*> TrackList;
|
|
TrackList tracks;
|
|
wchar_t *id;
|
|
wchar_t *name;
|
|
}; |