mirror of
https://github.com/microsoft/Microsoft-3D-Movie-Maker.git
synced 2024-11-22 02:12:33 +01:00
39 lines
975 B
C++
39 lines
975 B
C++
/* 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
|
|
|