faster image processing
All checks were successful
ESP32 Build & Release / build (push) Successful in 1m16s
All checks were successful
ESP32 Build & Release / build (push) Successful in 1m16s
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user