13 #ifndef LT_IO_CALLBACK_STREAM_H 14 #define LT_IO_CALLBACK_STREAM_H 19 #if defined(LT_COMPILER_MS) 20 #pragma warning(push,4) 86 virtual bool isOpen();
95 virtual lt_int64 tell();
97 virtual LTIOStreamInf* duplicate();
99 virtual const char* getID()
const;
117 #if defined(LT_COMPILER_MS) 121 #endif // LT_IO_CALLBACK_STREAM_H LTIOSeekDir
Stream seek directions.
lt_uint32(* LTIOCallbackStream_Write)(void *, const lt_uint8 *, lt_uint32)
typedef for callback stream write function
lt_uint8(* LTIOCallbackStream_IsOpen)(void *)
typedef for callback stream isOpen function
LT_STATUS(* LTIOCallbackStream_Seek)(void *, lt_int64, LTIOSeekDir)
typedef for callback stream seek function
LT_STATUS(* LTIOCallbackStream_Close)(void *)
typedef for callback stream close function
lt_uint32 LT_STATUS
An integral status code.
lt_uint8(* LTIOCallbackStream_IsEOF)(void *)
typedef for callback stream isEOF function
#define LT_BEGIN_NAMESPACE(theNameSpace)
compiler does not support namespaces
unsigned int lt_uint32
unsigned 32-bit integer
Stream driven entirely by user-defined callbacks.
lt_int64(* LTIOCallbackStream_Tell)(void *)
typedef for callback stream tell function
LTIOStreamH(* LTIOCallbackStream_Duplicate)(void *)
typedef for callback stream duplicate function
unsigned char lt_uint8
unsigned 8-bit integer
LT_STATUS(* LTIOCallbackStream_Open)(void *)
typedef for callback stream open function
lt_uint32(* LTIOCallbackStream_Read)(void *, lt_uint8 *, lt_uint32)
typedef for callback stream read function
Abstract definition of a stream.
#define LT_END_NAMESPACE(theNameSpace)
compiler does not support namespaces