#ifndef GAMEDETAILS_H #define GAMEDETAILS_H #include "globalconstants.h" #include "gamefile.h" #include "config.h" #include #include #include class gameDetails { public: gameDetails(); std::vector extras; std::vector installers; std::vector patches; std::vector languagepacks; std::vector dlcs; std::string gamename; std::string title; std::string icon; std::string serials; void filterWithPriorities(const Config& config); void makeFilepaths(const Config& config); std::string getSerialsFilepath(); Json::Value getDetailsAsJson(); virtual ~gameDetails(); protected: void filterListWithPriorities(std::vector& list, const Config& config); private: std::string serialsFilepath; }; #endif // GAMEDETAILS_H