1.1 --- a/epoc32/include/app/imerrors.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,100 +0,0 @@
1.4 -/*
1.5 -* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
1.6 -* All rights reserved.
1.7 -* This component and the accompanying materials are made available
1.8 -* 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.9 -* which accompanies this distribution, and is available
1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 -*
1.12 -* Initial Contributors:
1.13 -* Nokia Corporation - initial contribution.
1.14 -*
1.15 -* Contributors:
1.16 -*
1.17 -* Description: Open IM API errors
1.18 -*
1.19 -*/
1.20 -
1.21 -
1.22 -#ifndef OPENAPI_IM_ERRORS_H
1.23 -#define OPENAPI_IM_ERRORS_H
1.24 -
1.25 -const TInt KImErrorBase = -30130;
1.26 -
1.27 -enum TImErrors // SDK API errors
1.28 - {
1.29 - /**
1.30 - * General Error
1.31 - */
1.32 - KImApiGeneralError = KImErrorBase - 1,
1.33 -
1.34 - /**
1.35 - * Error not registered
1.36 - */
1.37 - KImApiErrNotRegistered = KImErrorBase - 2,
1.38 -
1.39 - /**
1.40 - * Error already registered
1.41 - */
1.42 - KImApiErrAlreadyRegistered = KImErrorBase - 3,
1.43 -
1.44 - /**
1.45 - * Error not logged
1.46 - */
1.47 - KImApiErrNotLogged = KImErrorBase - 4,
1.48 -
1.49 - /**
1.50 - * Login is already ongoing
1.51 - */
1.52 - KImApiErrLoginInProgress = KImErrorBase - 5,
1.53 -
1.54 - /**
1.55 - * The contact ID provided in SendPToPMessage is invalid
1.56 - */
1.57 - KImApiErrInvalidContactId = KImErrorBase - 6,
1.58 -
1.59 - /**
1.60 - * The user ID provided in SendPToPMessage is invalid
1.61 - */
1.62 - KImApiErrInvalidUserId = KImErrorBase - 7,
1.63 -
1.64 - /**
1.65 - * Not all the users have a valid User ID when sending message
1.66 - */
1.67 - KImApiErrPartialSuccess = KImErrorBase - 8,
1.68 -
1.69 - /**
1.70 - * Special IM error code: the sender is blocked by the recipient
1.71 - */
1.72 - KImApiErrSenderBlocked = KImErrorBase - 9,
1.73 -
1.74 - /**
1.75 - * Special IM error code: the recipient is not logged in
1.76 - */
1.77 - KImApiErrRecipientNotLogged = KImErrorBase - 10,
1.78 -
1.79 - /**
1.80 - * Logout is already in progress
1.81 - */
1.82 - KImApiErrLogoutInProgress = KImErrorBase - 11,
1.83 -
1.84 - /**
1.85 - * CancelLogin is already in progress
1.86 - */
1.87 - KImApiErrCancelLoginInProgress = KImErrorBase - 12,
1.88 -
1.89 - /**
1.90 - * Already logged in
1.91 - */
1.92 - KImApiErrAlreadyLoggedIn = KImErrorBase - 13,
1.93 -
1.94 - /**
1.95 - * Wrong Password
1.96 - */
1.97 - KImApiErrWrongPassword = KImErrorBase - 14
1.98 - };
1.99 -
1.100 -
1.101 -#endif // OPENAPI_IM_ERRORS_H
1.102 -
1.103 -// End of File