Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
mocks.h
Go to the documentation of this file.
1
/*
2
* Beware of this preprocessor hack used to redefine the settingCache class
3
* instead of including it and all of its dependencies.
4
* Always set header guards of mocked objects before including any headers
5
* with mocked objects.
6
*/
7
8
#define PICTURELOADER_H
9
10
#include "
libcockatrice/card/card_info.h
"
11
12
class
CardPictureLoader
13
{
14
public
:
15
static
void
clearPixmapCache
(
CardInfoPtr
card);
16
};
CardInfoPtr
QSharedPointer< CardInfo > CardInfoPtr
Definition
card_info.cpp:15
card_info.h
CardPictureLoader
Singleton class to manage card image loading and caching. Provides functionality to asynchronously lo...
Definition
card_picture_loader.h:46
CardPictureLoader::clearPixmapCache
static void clearPixmapCache()
Clears the in-memory QPixmap cache for all cards.
Definition
card_picture_loader.cpp:484
tests
carddatabase
mocks.h
Generated by
1.18.0