diff options
Diffstat (limited to 'common/notification.h')
-rw-r--r-- | common/notification.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/notification.h b/common/notification.h index 8224f2a..f5379fd 100644 --- a/common/notification.h +++ b/common/notification.h | |||
@@ -34,22 +34,29 @@ public: | |||
34 | enum NoticationType { | 34 | enum NoticationType { |
35 | Shutdown, | 35 | Shutdown, |
36 | Status, | 36 | Status, |
37 | Info, | ||
37 | Warning, | 38 | Warning, |
39 | Error, | ||
38 | Progress, | 40 | Progress, |
39 | Inspection, | 41 | Inspection, |
40 | RevisionUpdate, | 42 | RevisionUpdate, |
41 | FlushCompletion | 43 | FlushCompletion |
42 | }; | 44 | }; |
45 | /** | ||
46 | * Used as code for Inspection type notifications | ||
47 | */ | ||
43 | enum InspectionCode { | 48 | enum InspectionCode { |
44 | Success = 0, | 49 | Success = 0, |
45 | Failure | 50 | Failure |
46 | }; | 51 | }; |
47 | 52 | ||
48 | QByteArray id; | 53 | QByteArray id; |
54 | QByteArrayList entities; | ||
49 | int type = 0; | 55 | int type = 0; |
50 | QString message; | 56 | QString message; |
51 | //A return code. Zero typically indicates success. | 57 | //A return code. Zero typically indicates success. |
52 | int code = 0; | 58 | int code = 0; |
59 | QByteArray resource; | ||
53 | }; | 60 | }; |
54 | } | 61 | } |
55 | 62 | ||