1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #pragma once
- #include "IReferenceCounted.h"
- #include "path.h"
- namespace irr
- {
- namespace io
- {
- class IWriteFile : public virtual IReferenceCounted
- {
- public:
-
-
- virtual size_t write(const void *buffer, size_t sizeToWrite) = 0;
-
-
- virtual bool seek(long finalPos, bool relativeMovement = false) = 0;
-
-
- virtual long getPos() const = 0;
-
-
- virtual const path &getFileName() const = 0;
-
-
- virtual bool flush() = 0;
- };
- }
- }
|