logsui/logsserviceextension/inc/mlogsextbrandfetcherobserver.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2007 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:  An observer for the various fetchers.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef M_MLOGSEXTBRANDFETCHEROBSERVER_H
       
    21 #define M_MLOGSEXTBRANDFETCHEROBSERVER_H
       
    22 
       
    23 
       
    24 class CFbsBitmap;
       
    25 
       
    26 /**
       
    27  * Callback for the fetcher objects. Implemented by CLogsUiControlExtension
       
    28  * 
       
    29  * @lib logsserviceextension.dll
       
    30  * @since S60 v3.2
       
    31  */
       
    32 class MLogsExtBrandFetcherObserver
       
    33     {
       
    34     public:         
       
    35         
       
    36         /**
       
    37          * Handles the brand fetcher's callback.(e.g.adds the icon to the 
       
    38          * listbox's icon array and stores the position of the added icon)
       
    39          *
       
    40          * @since S60 v3.2
       
    41          * @param aServiceId service id
       
    42          * @param aBitmapFile file handle to bitmap file
       
    43          * @param aBitmapId id of the presence image bitmap in the file
       
    44          * @param aBitmapMaskId id of the presence image mask in the file        
       
    45         **/
       
    46         virtual void BrandIconFetchDoneL( const TUint32 aServiceId,
       
    47                                           RFile& aBitmapFile,
       
    48                                           const TInt aBitmapId,   
       
    49                                           const TInt aBitmapMaskId) = 0;
       
    50                                           
       
    51     };
       
    52 
       
    53 #endif // M_MLOGSEXTBRANDFETCHEROBSERVER_H