summaryrefslogtreecommitdiff
path: root/src/envsecurity.h
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2023-07-09 17:36:03 +0200
committerGitHub <noreply@github.com>2023-07-09 17:36:03 +0200
commitef94aee28464039672b277243a0181ae93550d6c (patch)
tree0575a68af5f154e9d6d0738edbaefb16a11d6f5c /src/envsecurity.h
parent7d6cb8528d20e36a4cee822263865ee2f7f32481 (diff)
parent3de050e9c03e553f7ae3f780f6bd080a30ae123e (diff)
Merge pull request #1839 from Holt59/ci/initial-gh-action-for-build
Clang-Format + Github Workflow
Diffstat (limited to 'src/envsecurity.h')
-rw-r--r--src/envsecurity.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/envsecurity.h b/src/envsecurity.h
index 5f9e5332..ca69b1a2 100644
--- a/src/envsecurity.h
+++ b/src/envsecurity.h
@@ -1,8 +1,8 @@
#ifndef ENV_SECURITY_H
#define ENV_SECURITY_H
-#include <QUuid>
#include <QString>
+#include <QUuid>
namespace env
{
@@ -12,9 +12,7 @@ namespace env
class SecurityProduct
{
public:
- SecurityProduct(
- QUuid guid, QString name, int provider,
- bool active, bool upToDate);
+ SecurityProduct(QUuid guid, QString name, int provider, bool active, bool upToDate);
// guid
//
@@ -50,14 +48,12 @@ private:
QString providerToString() const;
};
-
std::vector<SecurityProduct> getSecurityProducts();
-
struct FileRights
{
QStringList list;
- bool hasExecute = false;
+ bool hasExecute = false;
bool normalRights = false;
};
@@ -70,6 +66,6 @@ struct FileSecurity
FileSecurity getFileSecurity(const QString& file);
-} // namespace env
+} // namespace env
-#endif // ENV_SECURITY_H
+#endif // ENV_SECURITY_H