chore: baseline usable version
This commit is contained in:
25
src/qEmbyCore/services/danmaku/dandanplayprovider.h
Normal file
25
src/qEmbyCore/services/danmaku/dandanplayprovider.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef DANDANPLAYPROVIDER_H
|
||||
#define DANDANPLAYPROVIDER_H
|
||||
|
||||
#include "../../api/networkmanager.h"
|
||||
#include "../../models/danmaku/danmakumodels.h"
|
||||
|
||||
class DandanplayProvider
|
||||
{
|
||||
public:
|
||||
explicit DandanplayProvider(NetworkManager *networkManager);
|
||||
|
||||
QCoro::Task<QList<DanmakuMatchCandidate>> searchCandidates(
|
||||
DanmakuMediaContext context,
|
||||
DanmakuProviderConfig config,
|
||||
QString manualKeyword = QString()) const;
|
||||
|
||||
QCoro::Task<QList<DanmakuComment>> fetchComments(
|
||||
DanmakuMatchCandidate candidate,
|
||||
DanmakuProviderConfig config) const;
|
||||
|
||||
private:
|
||||
NetworkManager *m_networkManager;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user