Also fixed the project includes so that we don't need to always use the indirect include path, ie: #include "../include/foo.h" -> #include "foo.h" I'm don't know much about make files - if I busted the linux build, mea culpa, but I think we're okay on that front too. For future reference, here's the most straightforward link on the topic of adding pch support to make files: http://www.mercs-eng.com/~hulud/index.php?2008/06/13/6-writing-a-good-makefile-for-a-c-project
26 lines
516 B
C++
26 lines
516 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);
|
|
};
|
|
|
|
#endif
|