mirror of
https://github.com/sebastiandine/Card-Collection-Manager-3.git
synced 2026-08-28 17:01:02 +00:00
26 lines
819 B
C++
26 lines
819 B
C++
#pragma once
|
|
|
|
#include "ccm/games/IGameModule.hpp"
|
|
#include "ccm/games/yugioh/YuGiOhCardPreviewSource.hpp"
|
|
#include "ccm/games/yugioh/YuGiOhSetSource.hpp"
|
|
|
|
namespace ccm {
|
|
|
|
class YuGiOhGameModule final : public IGameModule {
|
|
public:
|
|
explicit YuGiOhGameModule(IHttpClient& http);
|
|
|
|
[[nodiscard]] Game id() const noexcept override { return Game::YuGiOh; }
|
|
[[nodiscard]] std::string dirName() const override { return "yugioh"; }
|
|
[[nodiscard]] std::string displayName() const override { return "Yu-Gi-Oh!"; }
|
|
|
|
ISetSource& setSource() override { return setSource_; }
|
|
ICardPreviewSource* cardPreviewSource() noexcept override { return &previewSource_; }
|
|
|
|
private:
|
|
YuGiOhSetSource setSource_;
|
|
YuGiOhCardPreviewSource previewSource_;
|
|
};
|
|
|
|
} // namespace ccm
|