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

Annotation of /trunk/gr2lib_cpp/GrannyAPILogger.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7 - (hide annotations) (download)
Sat Jul 31 01:44:00 2010 UTC (10 years, 1 month ago) by william
File size: 519 byte(s)
commit - header redesign -- actually compiles now.

** Have some issues with loading for granny files, will fix in subsequent commits...

1 william 6 #include "StdAfx.h"
2     #include "GrannyAPILogger.h"
3    
4 william 7 void __cdecl Callback(granny_log_message_type Type, granny_log_message_origin Origin, char const * Message, void * UserData);
5    
6 william 6 GrannyAPILogger::GrannyAPILogger(void)
7     {
8     granny_log_callback NewCallback;
9 william 7 NewCallback.Function = Callback;
10     NewCallback.UserData = NULL;
11     GrannySetLogCallback(&NewCallback);
12 william 6 }
13    
14 william 7 void __cdecl Callback(granny_log_message_type Type, granny_log_message_origin Origin, char const * Message, void * UserData)
15 william 6 {
16     assert(Message);
17     }

  ViewVC Help
Powered by ViewVC 1.1.22