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

Annotation of /trunk/gr2lib_cpp/GrannyAPILogger.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (hide annotations) (download)
Fri Jul 30 00:28:19 2010 UTC (9 years, 11 months ago) by william
File size: 543 byte(s)
bulk commit

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

  ViewVC Help
Powered by ViewVC 1.1.22