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.

35 lines
860 B

  1. //---------------------------------------------------------------------------
  2. // McsDebugUtil.cpp
  3. //
  4. // The classes declared in MCSDebugUtil.h are defined in
  5. // this file.
  6. //
  7. // (c) Copyright 1995-1998, Mission Critical Software, Inc., All Rights Reserved
  8. //
  9. // Proprietary and confidential to Mission Critical Software, Inc.
  10. //---------------------------------------------------------------------------
  11. #ifdef __cplusplus /* C++ */
  12. #ifndef WIN16_VERSION /* Not WIN16_VERSION */
  13. #ifdef USE_STDAFX
  14. # include "stdafx.h"
  15. # include "rpc.h"
  16. #else
  17. # include <windows.h>
  18. #endif
  19. #include "McsDbgU.h"
  20. // -----------
  21. // McsDebugLog
  22. // -----------
  23. void McsDebugUtil::McsDebugLog::write
  24. (const char *messageIn) {
  25. if (m_outStream) {
  26. *(m_outStream) << messageIn;
  27. m_outStream->flush();
  28. }
  29. }
  30. #endif /* Not WIN16_VERSION */
  31. #endif /* C++ */