svgt_plat/svgt_api/inc/SVGImageLoadingObserver.h
changeset 46 88edb906c587
equal deleted inserted replaced
-1:000000000000 46:88edb906c587
       
     1 /*
       
     2 * Copyright (c) 2003 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:  Image loading observe rinterface
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _INC_CSVGIMAGELOADINGOBSERVER_
       
    20 #define _INC_CSVGIMAGELOADINGOBSERVER_
       
    21 
       
    22 /**
       
    23  * Helping interface used as callback for image loading.
       
    24  *
       
    25  *  @lib SVGEngine.lib
       
    26  *  @since 1.0
       
    27  */
       
    28 class MSVGImageLoadingObserver
       
    29     {
       
    30     public:
       
    31         /**
       
    32          * This method is called by the CSVGImageLoaderUtil object after
       
    33          * a request (RequestForImageL) to load an image is made.
       
    34          * The possible values for aErrorStatus include:
       
    35          *      KErrNone = no errors,
       
    36          *      KErrCancel = loading of image has been canceled
       
    37          *
       
    38          * @since 1.0
       
    39          * @param aErrorStatus : error status if any.
       
    40          * @return
       
    41          */
       
    42         virtual void ImageLoadingCompleted( TInt aErrorStatus ) = 0;
       
    43   };
       
    44 
       
    45 #endif
       
    46