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.

24 lines
534 B

  1. // output.h
  2. //
  3. #pragma warning (disable : 4251)
  4. class __declspec(dllexport) COutput
  5. {
  6. public:
  7. LPCTSTR Status();
  8. void Reset();
  9. void __cdecl good(LPCTSTR sz, ...);
  10. void __cdecl warn(LPCTSTR sz, ...);
  11. void __cdecl warnErr(LPCTSTR sz, ...);
  12. void __cdecl err(LPCTSTR sz, ...);
  13. COutput& operator+= (const COutput& rhs);
  14. protected:
  15. tstring m_strGood;
  16. tstring m_strWarn;
  17. tstring m_strWarnErr; // non-confirmed bustimication (eg. DNS timeout)
  18. tstring m_strErr;
  19. auto_cs m_cs;
  20. };