summaryrefslogtreecommitdiffstats
path: root/matchblox/engine/C_Log.h
diff options
context:
space:
mode:
Diffstat (limited to 'matchblox/engine/C_Log.h')
-rw-r--r--matchblox/engine/C_Log.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/matchblox/engine/C_Log.h b/matchblox/engine/C_Log.h
new file mode 100644
index 0000000..2b598dd
--- /dev/null
+++ b/matchblox/engine/C_Log.h
@@ -0,0 +1,20 @@
+#ifndef C_LOG_HEADER_FILE
+
+#define C_LOG_HEADER_FILE
+
+class C_Log
+{
+public:
+ C_Log(char *f_strFileName);
+ ~C_Log();
+
+ bool LogNewSession(int f_iUserID, int f_iGameID);
+ bool LogSessionTurn(int f_iUserID, int f_iGameID, int f_iBlockNr, int HolePos, unsigned int f_uiTime);
+ bool LogSessionTotals(int f_iUserID, int f_iGameID, unsigned int f_uiTotalTime);
+
+private:
+// FILE *m_pLogFile;
+};
+
+#endif //C_LOG_HEADER_FILE
+