appinstall_plat/sifui_api/inc/sifuierrorinfo.inl
branchRCL_3
changeset 66 8b7f4e561641
parent 65 7333d7932ef7
child 70 e8965914fac7
equal deleted inserted replaced
65:7333d7932ef7 66:8b7f4e561641
     1 /*
       
     2 * Copyright (c) 2010 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:  CSifUiErrorInfo for installation error details
       
    15 *
       
    16 */
       
    17 
       
    18 // ---------------------------------------------------------------------------
       
    19 // CSifUiErrorInfo::ErrorCategory()
       
    20 // ---------------------------------------------------------------------------
       
    21 //
       
    22 inline Usif::TErrorCategory CSifUiErrorInfo::ErrorCategory() const
       
    23     {
       
    24     return iErrorCategory;
       
    25     }
       
    26 
       
    27 // ---------------------------------------------------------------------------
       
    28 // CSifUiErrorInfo::ErrorCode()
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 inline TInt CSifUiErrorInfo::ErrorCode() const
       
    32     {
       
    33     return iErrorCode;
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // CSifUiErrorInfo::ExtendedErrorCode()
       
    38 // ---------------------------------------------------------------------------
       
    39 //
       
    40 inline TInt CSifUiErrorInfo::ExtendedErrorCode() const
       
    41     {
       
    42     return iExtendedErrorCode;
       
    43     }
       
    44 
       
    45 // ---------------------------------------------------------------------------
       
    46 // CSifUiErrorInfo::ErrorMessage()
       
    47 // ---------------------------------------------------------------------------
       
    48 //
       
    49 inline const TDesC& CSifUiErrorInfo::ErrorMessage() const
       
    50     {
       
    51     if( iErrorMessage )
       
    52         {
       
    53         return *iErrorMessage;
       
    54         }
       
    55     return KNullDesC;
       
    56     }
       
    57 
       
    58 // ---------------------------------------------------------------------------
       
    59 // CSifUiErrorInfo::ErrorMessageDetails()
       
    60 // ---------------------------------------------------------------------------
       
    61 //
       
    62 inline const TDesC& CSifUiErrorInfo::ErrorMessageDetails() const
       
    63     {
       
    64     if( iErrorMessageDetails )
       
    65         {
       
    66         return *iErrorMessageDetails;
       
    67         }
       
    68     return KNullDesC;
       
    69     }
       
    70