/[Sims3RigEditor]/trunk/gr2lib_cpp/GrannyAPILogger.h
ViewVC logotype

Diff of /trunk/gr2lib_cpp/GrannyAPILogger.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib_cpp/GrannyAPILogger.h	2010/07/31 09:32:07	11
+++ trunk/gr2lib_cpp/GrannyAPILogger.h	2010/07/31 09:33:11	12
@@ -1,6 +1,7 @@
 #ifndef _GRANNYAPI_LOGGER_H
 #define _GRANNYAPI_LOGGER_H
 #include "granny.h"
+#include "VSDebugOutput.h"
 #include <stdio.h>
 #include <iostream>
 #include <stdlib.h>
@@ -12,9 +13,14 @@
 class GrannyAPILogger
 {
 private:
-	//granny_log_callback _log_callback;
-	//void __cdecl  Callback(granny_log_message_type Type, granny_log_message_origin Origin, char const * Message, void * UserData);
 public:
 	GrannyAPILogger(void);
+
+	void LogMessage(const char* Message);
+	void LogDebugMessageOnly(const char* Message);
+
+	void SetLogFileName(const char* filename);
+	void SetLogFileName(const char* logpath,const char* filename);
+
 };
 #endif  /* _GRANNYAPI_LOGGER_H */

 

  ViewVC Help
Powered by ViewVC 1.1.22