No code change just reformatting of header files.

finishing up my reformatting of the source from November/December following the guidelines that were posted.
some extra things I added:
   * Any empty virtual declarations were kept to one line.  
   * Enums were split up into separate lines to promote uniformity across all headers. ( each header file had a different style for enums)
This commit is contained in:
techdragon.nguyen@gmail.com
2011-01-21 18:01:14 +00:00
parent 6d3d4c1792
commit e53c16f700
101 changed files with 6128 additions and 4684 deletions

View File

@@ -4,37 +4,37 @@
#include <string>
#include <map>
#if defined _DEBUG
#define DEBUG_TRANSLATE
#endif
using namespace std;
class Translator{
protected:
static Translator * mInstance;
bool initDone;
void load(string filename, map<string,string> * dictionary);
class Translator
{
protected:
static Translator * mInstance;
bool initDone;
void load(string filename, map<string, string> * dictionary);
public:
map<string,string> values;
map<string,string> tempValues;
map<string,string> deckValues;
map<string, string> values;
map<string, string> tempValues;
map<string, string> deckValues;
#if defined DEBUG_TRANSLATE
map<string,int> missingValues;
map<string,int> dontCareValues;
int checkMisses;
map<string,int> missingValues;
map<string,int> dontCareValues;
int checkMisses;
#endif
string translate(string toTranslate);
Translator();
~Translator();
int Add(string from, string to);
void initCards();
void initDecks();
void init();
static Translator * GetInstance();
static void EndInstance();
string translate(string toTranslate);
Translator();
~Translator();
int Add(string from, string to);
void initCards();
void initDecks();
void init();
static Translator * GetInstance();
static void EndInstance();
};
string _(string toTranslate);