mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-09-24 15:54:12 +00:00
23 lines
438 B
C
23 lines
438 B
C
|
#ifndef NULLSOFT_PLSWRITERH
|
||
|
#define NULLSOFT_PLSWRITERH
|
||
|
|
||
|
#include <windows.h>
|
||
|
|
||
|
class PLSWriter
|
||
|
{
|
||
|
public:
|
||
|
PLSWriter();
|
||
|
void Open(char *filename);
|
||
|
void SetFilename(char *filename);
|
||
|
void SetTitle(char *title);
|
||
|
void SetLength(int length);
|
||
|
void Next(); // tells the pls writer to start writing info for the next item
|
||
|
void Close();
|
||
|
private:
|
||
|
void BeforeSet();
|
||
|
unsigned int numEntries;
|
||
|
int entryUsed;
|
||
|
char plsFile[MAX_PATH];
|
||
|
|
||
|
};
|
||
|
#endif
|