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.
25 lines
534 B
25 lines
534 B
// output.h
|
|
//
|
|
|
|
#pragma warning (disable : 4251)
|
|
|
|
class __declspec(dllexport) COutput
|
|
{
|
|
public:
|
|
|
|
LPCTSTR Status();
|
|
void Reset();
|
|
|
|
void __cdecl good(LPCTSTR sz, ...);
|
|
void __cdecl warn(LPCTSTR sz, ...);
|
|
void __cdecl warnErr(LPCTSTR sz, ...);
|
|
void __cdecl err(LPCTSTR sz, ...);
|
|
|
|
COutput& operator+= (const COutput& rhs);
|
|
protected:
|
|
tstring m_strGood;
|
|
tstring m_strWarn;
|
|
tstring m_strWarnErr; // non-confirmed bustimication (eg. DNS timeout)
|
|
tstring m_strErr;
|
|
auto_cs m_cs;
|
|
};
|