/* * 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 #include #define PICTURELOADER_H #include "../../cockatrice/src/carddatabase.h" #include "../../cockatrice/src/settingscache.h" extern SettingsCache *settingsCache; class PictureLoader { public: static void clearPixmapCache(CardInfoPtr card); };