mirror of
https://github.com/shawns-valve/halflife.git
synced 2024-11-26 06:01:07 +00:00
30 lines
656 B
C
30 lines
656 B
C
|
//========= Copyright <20> 1996-2002, Valve LLC, All rights reserved. ============
|
|||
|
//
|
|||
|
// Purpose:
|
|||
|
//
|
|||
|
// $NoKeywords: $
|
|||
|
//=============================================================================
|
|||
|
|
|||
|
#ifndef VGUI_FILE_H
|
|||
|
#define VGUI_FILE_H
|
|||
|
|
|||
|
#include<VGUI.h>
|
|||
|
|
|||
|
namespace vgui
|
|||
|
{
|
|||
|
|
|||
|
class VGUIAPI InputStream
|
|||
|
{
|
|||
|
public:
|
|||
|
virtual void seekStart(bool& success)=0;
|
|||
|
virtual void seekRelative(int count,bool& success)=0;
|
|||
|
virtual void seekEnd(bool& success)=0;
|
|||
|
virtual int getAvailable(bool& success)=0;
|
|||
|
virtual uchar readUChar(bool& success)=0;
|
|||
|
virtual void readUChar(uchar* buf,int count,bool& success)=0;
|
|||
|
virtual void close(bool& success)=0;
|
|||
|
};
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endif
|