2024-09-24 12:54:57 +00:00
|
|
|
#ifndef NULLSOFT_PLSWRITERH
|
|
|
|
#define NULLSOFT_PLSWRITERH
|
|
|
|
|
2024-09-29 02:04:03 +00:00
|
|
|
#include <arch.h>
|
2024-09-24 12:54:57 +00:00
|
|
|
|
|
|
|
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
|