aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/Library/ml_disc/PLSWriter.h
blob: d97ddd472d59ffba0a58a6f8b788210c2b2e7c2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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