mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-04 13:27:14 +00:00
added partial VFS support - enough to read static data from any source
This commit is contained in:
parent
0951283b31
commit
fa3e9e7329
56 changed files with 4021 additions and 606 deletions
|
@ -93,7 +93,7 @@ class SimpleIStringStream {
|
|||
|
||||
public:
|
||||
/* Reuse flag passed to StringStream(char *,int). */
|
||||
enum {
|
||||
enum Mode {
|
||||
/* Make a copy of the buffer (default action). */
|
||||
COPY,
|
||||
/* Use the passed-in string pointer as is. Requires the string
|
||||
|
@ -212,7 +212,7 @@ class SimpleIStringStream {
|
|||
|
||||
/*-------------------------------------------------------------------*/
|
||||
|
||||
private:
|
||||
protected:
|
||||
char *buffer; // The buffer we're parsing.
|
||||
char *position; // Our current position in the buffer.
|
||||
bool freeOnDestroy; // Should we free the buffer when we're destroyed?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue