PLSWriter.h 438 B

1234567891011121314151617181920212223
  1. #ifndef NULLSOFT_PLSWRITERH
  2. #define NULLSOFT_PLSWRITERH
  3. #include <windows.h>
  4. class PLSWriter
  5. {
  6. public:
  7. PLSWriter();
  8. void Open(char *filename);
  9. void SetFilename(char *filename);
  10. void SetTitle(char *title);
  11. void SetLength(int length);
  12. void Next(); // tells the pls writer to start writing info for the next item
  13. void Close();
  14. private:
  15. void BeforeSet();
  16. unsigned int numEntries;
  17. int entryUsed;
  18. char plsFile[MAX_PATH];
  19. };
  20. #endif