1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Constant definitions for FSMailServer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef FSMAILSERVERCONST_H_ |
|
20 #define FSMAILSERVERCONST_H_ |
|
21 |
|
22 //<cmail> |
|
23 #include "fsmailserverconst.hrh" |
|
24 //</cmail> |
|
25 |
|
26 /////////////////////////////////////////////////////////////////////////// |
|
27 // Different error notes that can be shown via this notifier |
|
28 enum TFsEmailNotifierSystemMessageType |
|
29 { |
|
30 // Used to indicate that system message type is not set |
|
31 // -> meant only for internal use |
|
32 EFsEmailNotifErrUndefined = -1, |
|
33 |
|
34 EFsEmailNotifErrCustom = 0, |
|
35 |
|
36 // Error messages that doesn't require response |
|
37 EFsEmailNotifErrAccountDisabled, |
|
38 EFsEmailNotifErrPasswordExpired, |
|
39 EFsEmailNotifErrDataDeleted, |
|
40 EFsEmailNotifErrLoginUnsuccesfull, |
|
41 EFsEmailNotifErrPasswordChanged, |
|
42 EFsEmailNotifErrLoginCanceled, |
|
43 EFsEmailNotifErrServerNotAvailable, |
|
44 EFsEmailNotifErrNetworkNotAvailable, |
|
45 EFsEmailNotifErrServerBusy, |
|
46 EFsEmailNotifErrUnableToConnectToServerTryAgain, |
|
47 EFsEmailNotifErrEmailAddrAndPwdDontMatch, |
|
48 EFsEmailNotifErrInvalidEmailAddress, |
|
49 EFsEmailNotifErrServerOffline, |
|
50 EFsEmailNotifErrRoamingTurnedOn, |
|
51 EFsEmailNotifErrRoamingCosts, |
|
52 EFsEmailNotifErrUnableToComplete, |
|
53 EFsEmailNotifErrConnectionError, |
|
54 EFsEmailNotifErrUnableToConnect, |
|
55 EFsEmailNotifErrMultipleSyncErrors, |
|
56 EFsEmailNotifErrOutOfMemory, |
|
57 EFsEmailNotifErrLoginFailed, |
|
58 EFsEmailNotifErrServerNotFoundCheckSettings, |
|
59 EFsEmailNotifErrUnableToConnectToServer, |
|
60 EFsEmailNotifErrDisconnected, |
|
61 EFsEmailNotifErrServerErroTryAgain, |
|
62 |
|
63 EFsEmailNotifErrLastNoResponse = 1000, |
|
64 |
|
65 // Error messages that do require response (which soft key pressed) |
|
66 EFsEmailNotifErrCustomResponse, |
|
67 EFsEmailNotifErrSynchronizationFailed, |
|
68 |
|
69 // Note! Not yet implemented as not currently needed. |
|
70 // Value kept here as a placeholder for future needs. |
|
71 EFsEmailNotifErrAuthenticatingWaitNote = 2000 |
|
72 }; |
|
73 |
|
74 #endif /*FSMAILSERVERCONST_H_*/ |
|