Files
wagic/projects/mtg/include/DeckDataWrapper.h
techdragon.nguyen@gmail.com 28d3b9b9a9 fixes ai deck saving bug pointed out by Zethfox.
TODO: fix text to the right of the box when saving ai deck.
2010-10-27 03:00:39 +00:00

26 lines
553 B
C++

#ifndef _DECKDATAWRAPPER_H_
#define _DECKDATAWRAPPER_H_
#include "MTGDefinitions.h"
#include "MTGCard.h"
#include "CardPrimitive.h"
#include "WDataSrc.h"
#include <map>
#include <string>
using std::map;
using std::string;
class MTGDeck;
class DeckDataWrapper: public WSrcDeck {
public:
MTGDeck * parent;
DeckDataWrapper(MTGDeck * deck);
bool next() {currentPos++; return true;};
bool prev() {currentPos--; return true;};
void save();
void save(string filepath, bool useExpandedCardNames, string &deckTitle, string &deckDesc);
};
#endif