Plugin API: Add RmLog and RmLogF functions

These functions take a `void* rm` parameter that is used to populate the Source field in the log.
This commit is contained in:
Birunthan Mohanathas
2013-10-21 18:04:13 +03:00
parent f99418dd2d
commit c2530b3761
8 changed files with 59 additions and 10 deletions

View File

@ -56,7 +56,11 @@ enum RmGetType
RMG_SKINWINDOWHANDLE = 4
};
LIBRARY_EXPORT BOOL LSLog(int type, LPCWSTR unused, LPCWSTR message);
LIBRARY_EXPORT void __stdcall RmLog(void* rm, int level, LPCWSTR message);
LIBRARY_EXPORT void __cdecl RmLogF(void* rm, int level, LPCWSTR format, ...);
LIBRARY_EXPORT BOOL __cdecl LSLog(int level, LPCWSTR unused, LPCWSTR message);
//
// Wrapper functions

Binary file not shown.

Binary file not shown.