mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
17 lines
334 B
C++
17 lines
334 B
C++
#ifndef CARDLIST_H
|
|
#define CARDLIST_H
|
|
|
|
#include <QList>
|
|
|
|
class CardItem;
|
|
|
|
class CardList : public QList<CardItem *> {
|
|
protected:
|
|
bool contentsKnown;
|
|
public:
|
|
CardList(bool _contentsKnown);
|
|
CardItem *findCard(const int id, const bool remove, int *position = NULL);
|
|
bool getContentsKnown() const { return contentsKnown; }
|
|
};
|
|
|
|
#endif
|