- updating sqlite-log

- handID in bero is unnecessary; removing parameter value
This commit is contained in:
floty
2011-10-21 00:16:43 +00:00
parent d14d1b4787
commit 8ae7db3e96
28 changed files with 158 additions and 164 deletions
+7 -3
View File
@@ -24,11 +24,13 @@
struct sqlite3;
class ConfigFile;
class Log
{
public:
Log(std::string logDirString, int logOnOffInt);
Log(ConfigFile *c);
~Log();
@@ -39,15 +41,17 @@ public:
void logHoleCards(int bero, int seat, int cards[2]);
void logHandName(int seat, int cardsValueInt, PlayerList activePlayerList);
void logHoleCardsHandName(int seat, int cards[2], int cardsValueInt, PlayerList activePlayerList);
void exec_transaction(std::string *sql);
// void closeLogDbAtExit();
private:
sqlite3 *mySqliteLogDb;
ConfigFile *myConfig;
int curGameID;
int curHandID;
bool logOnOff;
std::string sql;
bool logHoleCardsDone;
};
#endif // LOG_H