mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
FileManager: Allow launching processes by activating an executable file.
This commit is contained in:
parent
1ab995bfff
commit
5f4245789d
4 changed files with 17 additions and 2 deletions
|
@ -40,6 +40,7 @@ private:
|
|||
uid_t gid { 0 };
|
||||
ino_t inode { 0 };
|
||||
bool is_directory() const { return S_ISDIR(mode); }
|
||||
bool is_executable() const { return mode & S_IXUSR; }
|
||||
};
|
||||
|
||||
const Entry& entry(int index) const
|
||||
|
@ -59,4 +60,5 @@ private:
|
|||
RetainPtr<GraphicsBitmap> m_file_icon;
|
||||
RetainPtr<GraphicsBitmap> m_symlink_icon;
|
||||
RetainPtr<GraphicsBitmap> m_socket_icon;
|
||||
RetainPtr<GraphicsBitmap> m_executable_icon;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue