Cockatrice/tests/carddatabase/mocks.h
Lukas Brübach e965e3bf82 Cleanup two includes.
Took 3 minutes
2025-11-08 19:27:37 +01:00

24 lines
594 B
C++

/*
* Beware of this preprocessor hack used to redefine the settingCache class
* instead of including it and all of its dependencies.
* Always set header guards of mocked objects before including any headers
* with mocked objects.
*/
#include <QObject>
#include <QString>
#define PICTURELOADER_H
#include "../../cockatrice/src/client/settings/cache_settings.h"
#include <libcockatrice/card/database/card_database.h>
#include <libcockatrice/utility/macros.h>
extern SettingsCache *settingsCache;
class CardPictureLoader
{
public:
static void clearPixmapCache(CardInfoPtr card);
};