mirror of https://github.com/tongzx/nt5src
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.
32 lines
682 B
32 lines
682 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 2000
|
|
//
|
|
// File: print.h
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
#ifndef __CSCPIN_PRINT_H_
|
|
#define __CSCPIN_PRINT_H_
|
|
|
|
|
|
class CPrint
|
|
{
|
|
public:
|
|
CPrint(BOOL bVerbose, LPCWSTR pszLogFile = NULL);
|
|
~CPrint(void);
|
|
|
|
void PrintAlways(LPCWSTR pszFmt, ...) const;
|
|
void PrintVerbose(LPCWSTR pszFmt, ...) const;
|
|
|
|
private:
|
|
FILE *m_pfLog;
|
|
BOOL m_bVerbose;
|
|
|
|
void _Print(LPCWSTR pszFmt, va_list args) const;
|
|
};
|
|
|
|
|
|
#endif // __CSCPIN_PRINT_H_
|
|
|