mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
Replace CardInfo* and Carset* with smart pointers (#3053)
* Replace CardInfo* and Carset* with smart pointers * fixes to help memory & c++11 stuff
This commit is contained in:
parent
3e418ba3c6
commit
517420cccb
37 changed files with 409 additions and 342 deletions
|
|
@ -6,6 +6,8 @@
|
|||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
#include "../../cockatrice/src/carddatabase.h"
|
||||
|
||||
#define SETTINGSCACHE_H
|
||||
|
||||
class CardDatabaseSettings
|
||||
|
|
@ -38,8 +40,7 @@ signals:
|
|||
|
||||
|
||||
#define PICTURELOADER_H
|
||||
class CardInfo;
|
||||
|
||||
class PictureLoader {
|
||||
void clearPixmapCache(CardInfo *card);
|
||||
void clearPixmapCache(CardInfoPtr card);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue