phoneengine/PhoneCntFinder/inc/Misc/MPhCntThumbnailLoaderObserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 31 Mar 2010 21:30:06 +0300
branchRCL_3
changeset 17 38529f706030
parent 9 8871b09be73b
child 19 544e34b3255a
permissions -rw-r--r--
Revision: 201011 Kit: 201013

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Defines interface for the observer of thumbnail loader.
*
*/


#ifndef MPHCNTTHUMBNAILLOADEROBSERVER_H
#define MPHCNTTHUMBNAILLOADEROBSERVER_H

// INCLUDES
#include    <e32base.h>
#include    "CPhCntThumbnailLoader.h"

// FORWARD DECLARATIONS
class CFbsBitmap;

// CLASS DECLARATION

/**
*  It defines interface for the observer of thumbnail loader.
*
*  @lib PhoneCntFinder
*  @since 1.0
*/
class MPhCntThumbnailLoaderObserver
    {
    public: // New functions

        /**
        * It is called when thumbnail loading has been completed.
        *
        * Ownership of the bitmap is transferred to the observer.
        *
        * @param aId id, never KNullId.
        * @param aResult error code.
        * @param aBitmap bitmap.
        */
        virtual void MpctloThumbnailLoaded(
            CPhCntThumbnailLoader::TThumbnailId aId,
            TInt aResult, 
            CFbsBitmap* aBitmap ) = 0;
       
    };

#endif      // MPHCNTTHUMBNAILLOADEROBSERVER_H
            
// End of File