mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
SoundPlayer: Port M3UParser to Core::Stream
Also make the path parameter a StringView, since that's what gets passed in.
This commit is contained in:
parent
684c3efc04
commit
183b054695
2 changed files with 5 additions and 6 deletions
|
@ -32,7 +32,7 @@ struct M3UEntry {
|
|||
|
||||
class M3UParser {
|
||||
public:
|
||||
static NonnullOwnPtr<M3UParser> from_file(String path);
|
||||
static NonnullOwnPtr<M3UParser> from_file(StringView path);
|
||||
static NonnullOwnPtr<M3UParser> from_memory(String const& m3u_contents, bool utf8);
|
||||
|
||||
NonnullOwnPtr<Vector<M3UEntry>> parse(bool include_extended_info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue