/[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

revision 7 by william, Sat Jul 31 01:44:00 2010 UTC revision 12 by william, Sat Jul 31 09:33:11 2010 UTC
# Line 1  Line 1 
1  #ifndef _GRANNYAPI_LOGGER_H  #ifndef _GRANNYAPI_LOGGER_H
2  #define _GRANNYAPI_LOGGER_H  #define _GRANNYAPI_LOGGER_H
3  #include "granny.h"  #include "granny.h"
4    #include "VSDebugOutput.h"
5  #include <stdio.h>  #include <stdio.h>
6  #include <iostream>  #include <iostream>
7  #include <stdlib.h>  #include <stdlib.h>
# Line 12  using namespace std; Line 13  using namespace std;
13  class GrannyAPILogger  class GrannyAPILogger
14  {  {
15  private:  private:
         //granny_log_callback _log_callback;  
         //void __cdecl  Callback(granny_log_message_type Type, granny_log_message_origin Origin, char const * Message, void * UserData);  
16  public:  public:
17          GrannyAPILogger(void);          GrannyAPILogger(void);
18    
19            void LogMessage(const char* Message);
20            void LogDebugMessageOnly(const char* Message);
21    
22            void SetLogFileName(const char* filename);
23            void SetLogFileName(const char* logpath,const char* filename);
24    
25  };  };
26  #endif  /* _GRANNYAPI_LOGGER_H */  #endif  /* _GRANNYAPI_LOGGER_H */

Legend:
Removed from v.7  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.22