diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-24 22:15:18 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-24 22:15:18 +0100 |
commit | 9ea268a6d0f4054c31b2729ecd6cfcc9d07a2d6a (patch) | |
tree | 41fef7daac9e5ae64d61452a3f38c82243d29fdd /common/notification.h | |
parent | 84d70933c0cd0987d5fee5a78f413fec82bb1288 (diff) | |
download | sink-9ea268a6d0f4054c31b2729ecd6cfcc9d07a2d6a.tar.gz sink-9ea268a6d0f4054c31b2729ecd6cfcc9d07a2d6a.zip |
Implemented notification support in the model.
This will allow us to fold things like progress and sync status directly
into the model. Usecases are mail download progress and folder sync
progress.
Ideally we would also solve the resource/account state through this.
Diffstat (limited to 'common/notification.h')
-rw-r--r-- | common/notification.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/notification.h b/common/notification.h index 4b52274..f5379fd 100644 --- a/common/notification.h +++ b/common/notification.h | |||
@@ -51,6 +51,7 @@ public: | |||
51 | }; | 51 | }; |
52 | 52 | ||
53 | QByteArray id; | 53 | QByteArray id; |
54 | QByteArrayList entities; | ||
54 | int type = 0; | 55 | int type = 0; |
55 | QString message; | 56 | QString message; |
56 | //A return code. Zero typically indicates success. | 57 | //A return code. Zero typically indicates success. |