diff options
Diffstat (limited to 'src/envsecurity.h')
| -rw-r--r-- | src/envsecurity.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/envsecurity.h b/src/envsecurity.h index 200cb531..5f9e5332 100644 --- a/src/envsecurity.h +++ b/src/envsecurity.h @@ -1,3 +1,6 @@ +#ifndef ENV_SECURITY_H +#define ENV_SECURITY_H + #include <QUuid> #include <QString> @@ -13,6 +16,10 @@ public: QUuid guid, QString name, int provider, bool active, bool upToDate); + // guid + // + const QUuid& guid() const; + // display name of the product // const QString& name() const; @@ -46,4 +53,23 @@ private: std::vector<SecurityProduct> getSecurityProducts(); + +struct FileRights +{ + QStringList list; + bool hasExecute = false; + bool normalRights = false; +}; + +struct FileSecurity +{ + QString owner; + FileRights rights; + QString error; +}; + +FileSecurity getFileSecurity(const QString& file); + } // namespace env + +#endif // ENV_SECURITY_H |
