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

@@ -1,32 +1,36 @@
class WStyle{
class WStyle
{
public:
friend class StyleManager;
string stylized(string filename);
protected:
map<string,string> mapping;
map<string, string> mapping;
};
class WStyleRule{
class WStyleRule
{
public:
string filter; //The condition
string style; //The style to use.
string filter; //The condition
string style; //The style to use.
};
class MTGDeck;
class StyleManager{
class StyleManager
{
public:
friend class OptionThemeStyle;
friend class OptionTheme;
StyleManager();
~StyleManager();
void determineActive(MTGDeck * p1, MTGDeck * p2);
WStyle * get();
friend class OptionThemeStyle;
friend class OptionTheme;
StyleManager();
~StyleManager();
void determineActive(MTGDeck * p1, MTGDeck * p2);
WStyle * get();
protected:
int topRule; int topSize;
int playerSrc;
int topRule;
int topSize;
int playerSrc;
void loadRules();
void killRules();
vector<WStyleRule*> rules;
string activeStyle;
map<string,WStyle*> styles;
void loadRules();
void killRules();
vector<WStyleRule*> rules;
string activeStyle;
map<string, WStyle*> styles;
};