refactor: use extensible design for fetching playlist from single file

This commit is contained in:
2026-07-25 12:06:11 +08:00
parent 4ed491c78a
commit f55f8c731d
9 changed files with 146 additions and 76 deletions
+16
View File
@@ -0,0 +1,16 @@
// SPDX-FileCopyrightText: 2026 yyc12345 <yyc12321@outlook.com>
//
// SPDX-License-Identifier: MIT
#pragma once
#include "../playlistscout.h"
#include <QtSystemDetection>
#ifdef Q_OS_WIN
namespace PlaylistScout::Explorer {
std::optional<ScoutResult> scout(const QUrl &url, const QStringList &allowedSuffixes);
}
#endif // Q_OS_WIN