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

Contents of /trunk/gr2lib_cpp/GrannyAPILogger.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7 - (show annotations) (download)
Sat Jul 31 01:44:00 2010 UTC (9 years, 11 months 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 #include "StdAfx.h"
2 #include "GrannyAPILogger.h"
3
4 void __cdecl Callback(granny_log_message_type Type, granny_log_message_origin Origin, char const * Message, void * UserData);
5
6 GrannyAPILogger::GrannyAPILogger(void)
7 {
8 granny_log_callback NewCallback;
9 NewCallback.Function = Callback;
10 NewCallback.UserData = NULL;
11 GrannySetLogCallback(&NewCallback);
12 }
13
14 void __cdecl Callback(granny_log_message_type Type, granny_log_message_origin Origin, char const * Message, void * UserData)
15 {
16 assert(Message);
17 }

  ViewVC Help
Powered by ViewVC 1.1.22