extras/about/inc/MResourceLoaderObserver.h
branchRCL_3
changeset 22 bec11adf88f9
equal deleted inserted replaced
21:10c6e6d6e4d9 22:bec11adf88f9
       
     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: Observer for Resource loader.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MRESOURCELOADEROBSERVER_H_
       
    19 #define MRESOURCELOADEROBSERVER_H_
       
    20 
       
    21 /*
       
    22  * The observer for CAboutResourceLoader.
       
    23  */
       
    24 class MResourceLoaderObserver
       
    25     {
       
    26 public:
       
    27     /*
       
    28      * Handle items loaded event. The items loaded event will be emit 
       
    29      * when fixed items loaded.
       
    30      * @aError KErrNone if there is no error occurs, 
       
    31      * otherwise return system wide error code.
       
    32      */
       
    33     virtual void HandleItemsLoadedL( TInt aError ) = 0;
       
    34     
       
    35     /*
       
    36      * Handle the resouce loading completed event.
       
    37      * @aResourceId the id for the resource which has been loaded.
       
    38      * @aError KErrNone if there is no error occurs, 
       
    39      * otherwise retrurn system wide error code.
       
    40      */
       
    41     virtual void HandleResourceLoadCompletedL( const TInt aResourceId, TInt aError ) = 0;
       
    42     };
       
    43 
       
    44 #endif /* MRESOURCELOADEROBSERVER_H_ */