wvuing/IMPSConnectionUI/ServiceInc/CnUiErrors.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Connection UI internal error codes.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CNUIERRORS_H
       
    19 #define __CNUIERRORS_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <E32Std.h>
       
    23 
       
    24 
       
    25 /**
       
    26  * Connection UI internal error codes.
       
    27  *
       
    28  * NOTE!! These errors are for Connection UI
       
    29  * internal use only, and they has to be mapped
       
    30  * genereal return values before returning the to
       
    31  * clients...
       
    32  */
       
    33 const TInt KCnUiErrorBase = -19000;
       
    34 
       
    35 ///< Login operation is already in use by some other client
       
    36 const TInt KCnUiErrorLoginOperationAlreadyInUse = KCnUiErrorBase - 1;
       
    37 
       
    38 
       
    39 ///< No proper default SAP or no SAP's at all
       
    40 const TInt KCnUiErrorNoProperDefaultSap = KCnUiErrorBase - 2;
       
    41 
       
    42 
       
    43 ///< Selected login SAP is missing compulsory fields
       
    44 const TInt KCnUiErrorSapMissingCompulsoryFields = KCnUiErrorBase - 3;
       
    45 
       
    46 
       
    47 ///< Network server has insufficient capabilities for client to login
       
    48 const TInt KCnUiErrorInsufficientNWServerCapabilities = KCnUiErrorBase - 4;
       
    49 
       
    50 
       
    51 ///< NW usage not allowed (e.g. offline profile in use)
       
    52 const TInt KCnUiErrorNetworkConnectionNotAllowed = KCnUiErrorBase - 5;
       
    53 
       
    54 
       
    55 ///< Already connected to another SAP
       
    56 const TInt KCnUiErrorAlreadyConnectedToAnotherSap = KCnUiErrorBase - 6;
       
    57 
       
    58 
       
    59 ///< Client already connected
       
    60 const TInt KCnUiErrorClientAlreadyConnected = KCnUiErrorBase - 7;
       
    61 
       
    62 
       
    63 ///< No clients to reconnect
       
    64 const TInt KCnUiErrorNoClientsToReconnect = KCnUiErrorBase - 8;
       
    65 
       
    66 
       
    67 ///< No clients to disconnect
       
    68 const TInt KCnUiErrorNoClientsToDisconnect = KCnUiErrorBase - 9;
       
    69 
       
    70 
       
    71 
       
    72 #endif      //__CNUIERRORS_H
       
    73 
       
    74 //  End of File
       
    75