Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/playlist/M3UWriter.h

23 lines
619 B
C
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
#ifndef NULLSOFT_M3UWRITERH
#define NULLSOFT_M3UWRITERH
#include <stdio.h>
#include "PlaylistWriter.h"
class M3UWriter : public PlaylistWriter
{
public:
M3UWriter() {}
virtual ~M3UWriter();
int Open( const wchar_t *filename ) override;
void Write( const wchar_t *filename ) override;
void Write( const wchar_t *filename, const wchar_t *title, int length ) override;
void Write( const wchar_t *p_filename, const wchar_t *p_title, const wchar_t *p_extended_infos, int p_length ) override
{};
void Close() override;
private:
FILE *fp = NULL;
};
#endif