2022-03-08 01:16:08 +05:30
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "modplatform/ModAPI.h"
|
|
|
|
|
|
|
|
class NetworkModAPI : public ModAPI {
|
|
|
|
public:
|
|
|
|
void searchMods(CallerType* caller, SearchArgs&& args) const override;
|
|
|
|
void getVersions(CallerType* caller, const QString& addonId) const override;
|
|
|
|
|
|
|
|
protected:
|
2022-03-08 19:42:35 +05:30
|
|
|
virtual auto getModSearchURL(SearchArgs& args) const -> QString = 0;
|
|
|
|
virtual auto getVersionsURL(const QString& addonId) const -> QString = 0;
|
2022-03-08 01:16:08 +05:30
|
|
|
};
|