Source code of Windows XP (NT5)
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

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 2000
  6. //
  7. // File: print.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef __CSCPIN_PRINT_H_
  11. #define __CSCPIN_PRINT_H_
  12. class CPrint
  13. {
  14. public:
  15. CPrint(BOOL bVerbose, LPCWSTR pszLogFile = NULL);
  16. ~CPrint(void);
  17. void PrintAlways(LPCWSTR pszFmt, ...) const;
  18. void PrintVerbose(LPCWSTR pszFmt, ...) const;
  19. private:
  20. FILE *m_pfLog;
  21. BOOL m_bVerbose;
  22. void _Print(LPCWSTR pszFmt, va_list args) const;
  23. };
  24. #endif // __CSCPIN_PRINT_H_