epoc32/include/app/miut_err.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/app/miut_err.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/app/miut_err.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5  // All rights reserved.
     1.6  // This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9  // which accompanies this distribution, and is available
    1.10 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12  //
    1.13  // Initial Contributors:
    1.14  // Nokia Corporation - initial contribution.
    1.15 @@ -11,12 +11,22 @@
    1.16  // Contributors:
    1.17  //
    1.18  // Description:
    1.19 +// MIUT_ERR.H
    1.20  //
    1.21  
    1.22 +/**
    1.23 + * @file 
    1.24 + * @publishedAll
    1.25 + * @released
    1.26 + */
    1.27 +
    1.28  #ifndef __MIUT_ERR_H__
    1.29  #define __MIUT_ERR_H__
    1.30  
    1.31 -// Minimum value for an MTM-specific error
    1.32 +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS  
    1.33 +#include "miut_errconsts.h"
    1.34 +#endif
    1.35 +
    1.36  /**
    1.37  @publishedAll
    1.38  @released
    1.39 @@ -83,6 +93,15 @@
    1.40  @publishedAll
    1.41  @released
    1.42  */
    1.43 +// if Authentcation flag is ON, Fallback flag is OFF and email server doesn't support CRAM-MD5 
    1.44 +// authentication mechanism, then KPop3AuthenticationFailed error will be returned.
    1.45 +const TInt KPop3AuthenticationFailed			= KPop3ErrorBase-8;
    1.46 +
    1.47 +
    1.48 +/**
    1.49 +@publishedAll
    1.50 +@released
    1.51 +*/
    1.52  const TInt KPopTopError							= (-179);
    1.53  
    1.54  // IMSK-specific error code
    1.55 @@ -235,6 +254,15 @@
    1.56  //since there is no scope to declare the error within pop range. 
    1.57  const TInt KErrPop3ServerAlreadyConnected 		= KImapBaseError-14;
    1.58  
    1.59 +
    1.60 +/**
    1.61 +@publishedAll
    1.62 +@released
    1.63 +*/
    1.64 +// if Authentcation flag is ON, Fallback flag is OFF and email server doesn't support CRAM-MD5 
    1.65 +// authentication mechanism, then KErrImapAuthenticationFailed error will be returned.
    1.66 +const TInt KErrImapAuthenticationFailed		= 	KImapBaseError-15;
    1.67 +
    1.68  /**
    1.69  @publishedAll
    1.70  @released
    1.71 @@ -431,91 +459,5 @@
    1.72  */
    1.73  const TInt KErrPop3TLSNegotiateFailed			=  KPop3BaseError;
    1.74  
    1.75 -/**
    1.76 -@internalComponent
    1.77 -@released
    1.78 -*/
    1.79 -enum TImcmPanic
    1.80 -	{
    1.81 -	EOffOpNoBodyText = 0,
    1.82 -	EOffOpBadMtmTypeUid = 1,
    1.83 -	EOffOpNoCMsvEntrySet = 2,
    1.84 -	EOffOpEntryShouldBeFolder = 3,
    1.85 -	EOffOpTwoSameLinesNotAllowed = 4,
    1.86 -	EOffOpNoMemory = 5,
    1.87 -	EOffOpInvalidConstruction = 6,
    1.88 -	EOffOpListOutOfSync = 7,
    1.89 -	EOffOpNoMtmParameters = 8,
    1.90 -	EMiutBadStreamVersion = 9,
    1.91 -	EEntryIsNotMessage = 10,
    1.92 -	EMiutArrayHasOddNumberOfElements = 11,		// ie there should be even number of entries in array
    1.93 -	EMiutLocalServiceIdSet = 12,				// iServiceId should not be set to Local
    1.94 -	EPopcMTMNoBodyText = 13,
    1.95 -	EPopcMTMBadMtmTypeUid = 14,
    1.96 -	EPopcMTMNoCMsvEntrySet = 15,
    1.97 -	EPopcMTMOperationNULL = 16,
    1.98 -	EPopcMTMNotAServiceEntry = 17,
    1.99 -	EPopcUnknownNewEmailType = 18,
   1.100 -	EPopcUnknownSyncFunction = 19,
   1.101 -	ESmtcMTMNoBodyText = 20,
   1.102 -	ESmtcMTMBadMtmTypeUid = 21,
   1.103 -	ESmtcMTMNoCMsvEntrySet = 22,
   1.104 -	ESmtcMTMOperationNULL = 23,
   1.105 -	ESmtcMTMNotAServiceEntry = 24,
   1.106 -	ESmtcUnknownNewEmailType = 25,
   1.107 -	ESmtcUnknownSyncFunction = 26,
   1.108 -	ESmtcMTMStoringBadEntryType = 27,
   1.109 -	ESmtcMTMRestoringBadEntryType = 28,
   1.110 -	ESmtcMTMNotAMessageEntry = 29,
   1.111 -	EMiutActiveInFinalProgress = 30,
   1.112 -	EImpcNoBodyText = 31,
   1.113 -	EImpcBadMtmTypeUid = 32,
   1.114 -	EImpcNoCMsvEntrySet = 33,
   1.115 -	EImpcEntryShouldBeFolder = 34,
   1.116 -	EImpcTwoSameLinesNotAllowed = 35,
   1.117 -	EImpcNoMemory = 36,
   1.118 -	EImpcInvalidConstruction = 37,
   1.119 -	EImpcBadServiceEntry = 38,
   1.120 -	EImpcNoBaseMtm = 39,
   1.121 -	EImpcNoAddresseeList = 40,
   1.122 -	EImpcInvalidProgress = 41,
   1.123 -	EImpcNotSupported = 42,
   1.124 -	EImpcMTMNotAMessageEntry = 43,
   1.125 -	EImpcMTMNotAServiceEntry = 44,
   1.126 -	EImcmMessageEntryHasMoreThanOneFolder = 45,
   1.127 -	EImcmUnknownState = 46,
   1.128 -	EImcmFinalProgressFailed = 47,
   1.129 -	EImcmNoEikonEnvironment = 48,
   1.130 -	EImcmSetVersionNotSupported = 49,
   1.131 -	EImcmSystemDefaultCharsetNotSupported = 50,
   1.132 - 	EImcmHtmlConverterNotFound = 51,
   1.133 -	EImcmUnknownMtm = 52,
   1.134 -	EImEmailOpUnknownAttachmentType = 53,
   1.135 -	EImcmNonIdleRetrievalState = 54,
   1.136 -	EImcmIdleRetrievalState = 55,
   1.137 -	EImcmSyncDownloadRulesInvalidPos1 = 56,
   1.138 -	EImcmSyncDownloadRulesInvalidPos2 = 57,
   1.139 -	EImcmSyncDownloadRulesInvalidPos3 = 58,
   1.140 -	EImcmSyncDownloadRulesInvalidBearerTypes1 = 59,
   1.141 -	EImcmSyncDownloadRulesInvalidBearerTypes2 = 60,
   1.142 -	EImcmSyncDownloadRulesInvalidBearerTypes3 = 61,
   1.143 -	EImcmTransportBufferSizesInvalidPos1 = 62,
   1.144 -	EImcmTransportBufferSizesInvalidPos2 = 63,
   1.145 -	EImcmTransportBufferSizesInvalidPos3 = 64,
   1.146 -	EImcmTransportBufferSizesInvalidBearerTypes1 = 65,
   1.147 -	EImcmTransportBufferSizesInvalidBearerTypes2 = 66,
   1.148 -	EImcmTransportBufferSizesInvalidBearerTypes3 = 67,
   1.149 -	EImcmTransportBufferSizesInvalidFetchRequestSize = 68,
   1.150 -	EImcmTransportBufferSizesInvalidMaxOutstandingFetchResponses = 69,
   1.151 -	EImcmMobilityAccountsListInvalidPos1 = 70,
   1.152 -	EImcmMobilityAccountsListInvalidPos2 = 71,
   1.153 -	EImcmMobilityAccountsListInvalidPos3 = 72,
   1.154 -	EImcmMobilityAccountsListInvalidIAPListCount = 73
   1.155 -	};
   1.156 -
   1.157 -/**
   1.158 -@internalComponent
   1.159 -*/
   1.160 -GLREF_C void gPanic(TImcmPanic aPanic);
   1.161  
   1.162  #endif // __MIUT_ERR_H__