diff options
Diffstat (limited to 'LibCore/CIODevice.h')
-rw-r--r-- | LibCore/CIODevice.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/LibCore/CIODevice.h b/LibCore/CIODevice.h index 79e589eb9f..4977c3f33b 100644 --- a/LibCore/CIODevice.h +++ b/LibCore/CIODevice.h @@ -1,18 +1,19 @@ #pragma once -#include <LibCore/CObject.h> #include <AK/ByteBuffer.h> +#include <LibCore/CObject.h> class CIODevice : public CObject { public: - enum OpenMode { - NotOpen = 0, - ReadOnly = 1, - WriteOnly = 2, - ReadWrite = 3, - Append = 4, - Truncate = 8, - MustBeNew = 16, + enum OpenMode + { + NotOpen = 0, + ReadOnly = 1, + WriteOnly = 2, + ReadWrite = 3, + Append = 4, + Truncate = 8, + MustBeNew = 16, }; virtual ~CIODevice() override; @@ -37,7 +38,8 @@ public: bool can_read() const; - enum class SeekMode { + enum class SeekMode + { SetPosition, FromCurrentPosition, FromEndPosition, |