16 lines
339 B
C++
16 lines
339 B
C++
#ifndef CARDLIST_H
|
|
#define CARDLIST_H
|
|
|
|
#include "carditem.h"
|
|
#include <QList>
|
|
|
|
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
|