19.12.2010 - variables and structs, fixed consoleand interfaces
This commit is contained in:
2
pifile.h
2
pifile.h
@@ -17,7 +17,7 @@ public:
|
||||
|
||||
bool open(const PIString & path, Flags<Mode> mode = Read | Write);
|
||||
void close() {stream.close();}
|
||||
void clear() {close(); stream.open(cpath, fstream::trunc | (fstream::openmode)(int)cmode);}
|
||||
void clear() {close(); stream.open(cpath.stdString().c_str(), fstream::trunc | (fstream::openmode)(int)cmode);}
|
||||
void seek(int position);
|
||||
void resize(int new_size, char fill = 0);
|
||||
void fill(char c) {stream.fill(c);}
|
||||
|
||||
Reference in New Issue
Block a user