wvuing/wvuieng/EngInc/MCAImageLoader.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Interface for loading images.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MCAIMAGELOADER_H__
       
    20 #define __MCAIMAGELOADER_H__
       
    21 
       
    22 const TSize KNullSize( 0, 0 );
       
    23 
       
    24 //	FORWARD CLASS DECLERATIONS
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  *  Interface for loading images.
       
    30  *
       
    31  *  @lib CAEngine.dll
       
    32  *  @since 3.0
       
    33  */
       
    34 class MCAImageLoader
       
    35     {
       
    36     public: // Interface
       
    37 
       
    38         /**
       
    39          *
       
    40          */
       
    41         void LoadImageL( const TDesC& aContentType,
       
    42                          const TDesC8& aContent,
       
    43                          MCAImageLoaderObserver*  aObserver,
       
    44                          const TSize& aSize = KNullSize ) = 0;
       
    45 
       
    46         /**
       
    47          *
       
    48          */
       
    49         CFbsBitmap* LoadImageL( const TDesC& aContentType,
       
    50                                 const TDesC8& aContent,
       
    51                                 const TSize& aSize = KNullSize ) = 0;
       
    52 
       
    53 
       
    54     private: // Protection
       
    55 
       
    56         /**
       
    57          * Destructor for protection.
       
    58          */
       
    59         ~MCAImageLoader();
       
    60 
       
    61     };
       
    62 
       
    63 #endif      // __MCAIMAGELOADER_H__
       
    64 
       
    65 // End of File