PlaylistWriter.h 598 B

1234567891011121314151617
  1. #ifndef NULLSOFT_PLAYLIST_PLAYLISTWRITER_H
  2. #define NULLSOFT_PLAYLIST_PLAYLISTWRITER_H
  3. // probably not the final interface, so we won't dispatch it yet
  4. class PlaylistWriter
  5. {
  6. public:
  7. virtual ~PlaylistWriter() {}
  8. virtual int Open( const wchar_t *filename ) = 0;
  9. virtual void Write( const wchar_t *filename ) = 0;
  10. virtual void Write( const wchar_t *filename, const wchar_t *title, int length ) = 0;
  11. virtual void Write( const wchar_t *filename, const wchar_t *title, const wchar_t *p_extended_infos, int length ) = 0;
  12. virtual void Close() = 0;
  13. };
  14. #endif