summaryrefslogtreecommitdiff
path: root/src/envsecurity.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2022-05-17 11:47:01 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2023-07-09 17:20:40 +0200
commitd13f6bb870cdda71257f665367be8ef9fca86255 (patch)
tree52e214718478f1e52856572f5aa1a2ac58537f9f /src/envsecurity.h
parent86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff)
Apply clang-format.
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