winamp/Src/Plugins/Library/ml_disc/PLSWriter.h

23 lines
438 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#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