diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-31 07:09:35 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-31 07:09:35 +0200 |
commit | 993ab84a0d07591352f7a02ba0c2b3269b44ca1e (patch) | |
tree | b8009d3e4220fdc5594c31c95a465c581f841af6 /Libraries/LibGUI/GDirectoryModel.h | |
parent | 10b4c92e214bbe17bca0e7e7c2c6893555e65ba4 (diff) | |
download | serenity-993ab84a0d07591352f7a02ba0c2b3269b44ca1e.zip |
GDirectoryModel: Add "modification time" column.
Fixes #373.
Diffstat (limited to 'Libraries/LibGUI/GDirectoryModel.h')
-rw-r--r-- | Libraries/LibGUI/GDirectoryModel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibGUI/GDirectoryModel.h b/Libraries/LibGUI/GDirectoryModel.h index 8787a56d17..e031c9aa69 100644 --- a/Libraries/LibGUI/GDirectoryModel.h +++ b/Libraries/LibGUI/GDirectoryModel.h @@ -19,6 +19,7 @@ public: Owner, Group, Permissions, + ModificationTime, Inode, __Count, }; @@ -43,6 +44,7 @@ public: uid_t uid { 0 }; uid_t gid { 0 }; ino_t inode { 0 }; + time_t mtime { 0 }; mutable RefPtr<GraphicsBitmap> thumbnail; bool is_directory() const { return S_ISDIR(mode); } bool is_executable() const { return mode & S_IXUSR; } |