mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
366 B
24 lines
366 B
#ifndef __TRACE_INCLUDED__
|
|
#define __TRACE_INCLUDED__
|
|
|
|
#if defined(_DEBUG)
|
|
#define trace(args) trace_ args
|
|
#define traceOnly(x) x
|
|
#else
|
|
#define trace(args) 0
|
|
#define traceOnly(x)
|
|
#endif
|
|
|
|
enum TR {
|
|
trILS,
|
|
trILM,
|
|
trMap,
|
|
trSave,
|
|
trStreams,
|
|
trStreamImage,
|
|
trStreamImageSummary,
|
|
trMax
|
|
};
|
|
BOOL trace_(TR tr, const char* szFmt, ...);
|
|
|
|
#endif // !__TRACE_INCLUDED__
|