1
0
Files
sarasacw-picture/app/winplaylistpatch.h
yyc12345 81413b51da feat: support explorer sort and hidden on Window
now playlist can use Windows Explorer's sort and hidden file display options to build it own for better browse experience on Windows
2026-07-14 13:22:23 +08:00

22 lines
503 B
C++

// SPDX-FileCopyrightText: 2026 yyc12345 <yyc12321@outlook.com>
//
// SPDX-License-Identifier: MIT
#pragma once
#include <QtSystemDetection>
#ifdef Q_OS_WIN
#include <QUrl>
class WinPlaylistPatch
{
public:
static bool loadSingleFilePlaylist(const QUrl &url,
const QStringList &allowedSuffixes,
QList<QUrl> &playlist,
std::optional<qsizetype> &indexHint);
};
#endif // Q_OS_WIN