servatrice/cockatrice/src/cardlist.h
Max-Wilhelm Bruker a11f93df4d initial commit
2009-03-13 22:50:41 +01:00

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