2022-03-07 19:46:08 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "modplatform/ModAPI.h"
|
|
|
|
|
|
|
|
class NetworkModAPI : public ModAPI {
|
|
|
|
public:
|
|
|
|
void searchMods(CallerType* caller, SearchArgs&& args) const override;
|
2022-03-24 21:39:53 +00:00
|
|
|
void getVersions(CallerType* caller, VersionSearchArgs&& args) const override;
|
2022-03-07 19:46:08 +00:00
|
|
|
|
|
|
|
protected:
|
2022-03-08 14:12:35 +00:00
|
|
|
virtual auto getModSearchURL(SearchArgs& args) const -> QString = 0;
|
2022-03-24 21:39:53 +00:00
|
|
|
virtual auto getVersionsURL(VersionSearchArgs& args) const -> QString = 0;
|
2022-03-07 19:46:08 +00:00
|
|
|
};
|