summaryrefslogtreecommitdiffstats
path: root/common/inspection.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/inspection.h')
-rw-r--r--common/inspection.h11
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
26namespace Sink { 26namespace Sink {
27 namespace ResourceControl { 27namespace ResourceControl {
28 28
29struct Inspection { 29struct 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}