diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-20 09:24:06 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-20 09:24:06 +0100 |
commit | cd5ecf7b381ebc76196931e213c92664c3443be8 (patch) | |
tree | 0f8beca5b6e7c62ff503c0b8fcfcd12bcc91a1be /common/notification.h | |
parent | 9e8d4bac334e727368ada48676a21d52030b97cc (diff) | |
download | sink-cd5ecf7b381ebc76196931e213c92664c3443be8.tar.gz sink-cd5ecf7b381ebc76196931e213c92664c3443be8.zip |
Make error codes part of the applicationdomain interface
Diffstat (limited to 'common/notification.h')
-rw-r--r-- | common/notification.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/common/notification.h b/common/notification.h index 87c22db..4b52274 100644 --- a/common/notification.h +++ b/common/notification.h | |||
@@ -49,22 +49,6 @@ public: | |||
49 | Success = 0, | 49 | Success = 0, |
50 | Failure | 50 | Failure |
51 | }; | 51 | }; |
52 | /** | ||
53 | * Used as code for Warning/Error type notifications | ||
54 | */ | ||
55 | enum ErrorCode { | ||
56 | NoError = 0, | ||
57 | UnknownError, | ||
58 | NoServerAvailable, | ||
59 | LoginFailed, | ||
60 | TransmissionFailed, | ||
61 | }; | ||
62 | /** | ||
63 | * Used as code for Info type notifications | ||
64 | */ | ||
65 | enum SuccessCode { | ||
66 | TransmissionSucceeded | ||
67 | }; | ||
68 | 52 | ||
69 | QByteArray id; | 53 | QByteArray id; |
70 | int type = 0; | 54 | int type = 0; |