diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-03 09:01:05 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-03 09:01:05 +0100 |
commit | 4d9746c828558c9f872e0aed52442863affb25d5 (patch) | |
tree | 507d7c2ba67f47d3cbbcf01a722236ff1b48426b /common/inspection.h | |
parent | 9cea920b7dd51867a0be0fed2f461b6be73c103e (diff) | |
download | sink-4d9746c828558c9f872e0aed52442863affb25d5.tar.gz sink-4d9746c828558c9f872e0aed52442863affb25d5.zip |
Fromatted the whole codebase with clang-format.
clang-format -i */**{.cpp,.h}
Diffstat (limited to 'common/inspection.h')
-rw-r--r-- | common/inspection.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/common/inspection.h b/common/inspection.h index d85eab6..7abcd1c 100644 --- a/common/inspection.h +++ b/common/inspection.h | |||
@@ -24,9 +24,10 @@ | |||
24 | #include "applicationdomaintype.h" | 24 | #include "applicationdomaintype.h" |
25 | 25 | ||
26 | namespace Sink { | 26 | namespace Sink { |
27 | namespace ResourceControl { | 27 | namespace ResourceControl { |
28 | 28 | ||
29 | struct Inspection { | 29 | struct Inspection |
30 | { | ||
30 | static Inspection PropertyInspection(const Sink::ApplicationDomain::Entity &entity, const QByteArray &property, const QVariant &expectedValue) | 31 | static Inspection PropertyInspection(const Sink::ApplicationDomain::Entity &entity, const QByteArray &property, const QVariant &expectedValue) |
31 | { | 32 | { |
32 | Inspection inspection; | 33 | Inspection inspection; |
@@ -46,7 +47,8 @@ struct Inspection { | |||
46 | return inspection; | 47 | return inspection; |
47 | } | 48 | } |
48 | 49 | ||
49 | enum Type { | 50 | enum Type |
51 | { | ||
50 | PropertyInspectionType, | 52 | PropertyInspectionType, |
51 | ExistenceInspectionType | 53 | ExistenceInspectionType |
52 | }; | 54 | }; |
@@ -55,6 +57,5 @@ struct Inspection { | |||
55 | QByteArray property; | 57 | QByteArray property; |
56 | QVariant expectedValue; | 58 | QVariant expectedValue; |
57 | }; | 59 | }; |
58 | 60 | } | |
59 | } | ||
60 | } | 61 | } |