1.14.0.5
Hummingbird
A modern user interface library for games
cohtml::ISyncStreamReader Class Referenceabstract

Class for synchronously reading local resources. More...

Public Member Functions

virtual unsigned GetSize ()=0
 Should return the size of the requested resource.
 
virtual unsigned Read (unsigned offset, unsigned char *buffer, unsigned count)=0
 Should read a part of the resource.
 
virtual void Close ()=0
 Closes the resource stream. This is called when Hummingbird is done with the resource read.
 

Detailed Description

Class for synchronously reading local resources.