faster image processing
All checks were successful
ESP32 Build & Release / build (push) Successful in 1m16s

This commit is contained in:
2026-09-13 23:31:36 +02:00
parent 8d034ed1df
commit e6760e4866
3 changed files with 169 additions and 11 deletions

View File

@@ -50,6 +50,31 @@ const char *scryfall_last_result_uid(void);
*/
void scryfall_consume_result(void);
/**
* @brief True if net_task finished an image fetch attempt.
*/
bool scryfall_has_pending_image(void);
/**
* @brief True if the last image fetch succeeded.
*/
bool scryfall_last_image_success(void);
/**
* @brief UID of the most recently fetched card image.
*/
const char *scryfall_last_image_uid(void);
/**
* @brief Clear the pending image result flag.
*/
void scryfall_consume_image(void);
/**
* @brief True if an image download is actively in progress for this UID.
*/
bool scryfall_is_fetching_image(const char *uid);
#ifdef __cplusplus
}
#endif