diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-12-23 15:33:44 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-12-23 15:33:44 +0100 |
commit | c98f9337940128178401bb6b2d242ce577080ca4 (patch) | |
tree | 6dcf8da983709cf3c4d33e793eed3f8bb68501d7 /oop2eindopdr/Pokedex.h | |
parent | 295ee857b9b46c27e80051700278e3075590d823 (diff) |
half-implemented TCG API client class
Diffstat (limited to 'oop2eindopdr/Pokedex.h')
-rw-r--r-- | oop2eindopdr/Pokedex.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/oop2eindopdr/Pokedex.h b/oop2eindopdr/Pokedex.h index abe8bef..a91b560 100644 --- a/oop2eindopdr/Pokedex.h +++ b/oop2eindopdr/Pokedex.h @@ -5,6 +5,7 @@ #include "PokemonCard.h" +/** @brief user pokedex class, handles caching and api access silently */ class Pokedex { private: std::vector<PokemonCard*> cards; @@ -13,7 +14,11 @@ private: public: Pokedex(); virtual ~Pokedex(); - + + virtual void download_collection(); + virtual void load_collection(); + virtual void verify_collection(); + /** @brief search cards that contain `query` in id field */ virtual PokemonCard* search_card_by_id(std::string query); }; |