Microsoft-3D-Movie-Maker/kauai/SRC/MSSIO.H

39 lines
975 B
C++
Raw Permalink Normal View History

2022-05-04 01:31:19 +02:00
/* Copyright (c) Microsoft Corporation.
Licensed under the MIT License. */
/* Copyright (c) Microsoft Corporation.
Licensed under the MIT License. */
/***************************************************************************
Author: ShonK
Project: Kauai
Copyright (c) Microsoft Corporation
A message sink (MSNK) wrapper around a stdio file.
Include <stdio.h> before including this file.
***************************************************************************/
#ifndef MSSIO_H
#define MSSIO_H
/***************************************************************************
Standard i/o message sink.
***************************************************************************/
typedef class MSSIO *PMSSIO;
#define MSSIO_PAR MSNK
class MSSIO : public MSSIO_PAR
{
protected:
bool _fError;
FILE *_pfile;
public:
MSSIO(FILE *pfile);
virtual void ReportLine(PSTZ pstz);
virtual void Report(PSTZ pstz);
virtual bool FError(void);
};
#endif //!MSSIO_H