aboutsummaryrefslogtreecommitdiff
path: root/oop2eindopdr/Pokedex.h
diff options
context:
space:
mode:
Diffstat (limited to 'oop2eindopdr/Pokedex.h')
-rw-r--r--oop2eindopdr/Pokedex.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/oop2eindopdr/Pokedex.h b/oop2eindopdr/Pokedex.h
index ec4ac26..d90bd73 100644
--- a/oop2eindopdr/Pokedex.h
+++ b/oop2eindopdr/Pokedex.h
@@ -24,15 +24,20 @@ private:
/** @brief cache connection */
CacheManager* cache = nullptr;
+ /** @brief api connection */
PokemonTCGAPIClient* api = nullptr;
+ /** @brief download manager */
DownloadManager* download_manager = nullptr;
+ /** @brief allow api access from PokemonCard::fetch_market_value */
friend class PokemonCard;
+ /** @brief search cache for cards matching query in id or name */
virtual std::vector<PokemonCard*> search_cards_local(std::string query);
+ /** @brief search API for cards matching query in id or name */
virtual std::vector<PokemonCard*> search_cards_remote(std::string query);
- /** @brief convert std::string to lowercase */
+ /** @brief [utility] convert std::string to lowercase */
std::string lower(std::string input);
public: