diff options
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 | } |