imstutils/imconversationview/imcvuiapp/inc/cimcvuiappiconfileprovider.h
branchRCL_3
changeset 29 9a48e301e94b
parent 0 5e5d6b214f4f
equal deleted inserted replaced
28:3104fc151679 29:9a48e301e94b
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Icon file provider.
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CIMCVUIAPPICONFILEPROVIDER_H
       
    21 #define CIMCVUIAPPICONFILEPROVIDER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <AknsItemID.h>
       
    26 #include <AknIconUtils.h>
       
    27 
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34  *  Icon file provider.
       
    35  *  See MAknIconFileProvider.h for comments.
       
    36  *
       
    37  *  @lib chat.app
       
    38  *  @since 3.0
       
    39  */
       
    40 class CIMCVUiAppIconFileProvider : public CBase, public MAknIconFileProvider
       
    41     {
       
    42     public:  // Constructors and destructor
       
    43 
       
    44         /**
       
    45          * Two-phased constructor.
       
    46          */
       
    47         static CIMCVUiAppIconFileProvider* NewL( RFile& aFile );
       
    48 
       
    49         /**
       
    50          * Destructor.
       
    51          */
       
    52         virtual ~CIMCVUiAppIconFileProvider();
       
    53 
       
    54     public: // Functions from base classes
       
    55 
       
    56         /**
       
    57          * @see MAknIconFileProvider
       
    58          */		                       
       
    59         void RetrieveIconFileHandleL(
       
    60                 RFile& aFile, const TIconFileType aType );
       
    61 
       
    62         /**
       
    63          * @see MAknIconFileProvider
       
    64          */
       
    65         void Finished();
       
    66 
       
    67     private:
       
    68 
       
    69         /**
       
    70          * C++ default constructor.
       
    71          */
       
    72         CIMCVUiAppIconFileProvider( );
       
    73 
       
    74         /**
       
    75          * By default Symbian 2nd phase constructor is private.
       
    76          */
       
    77 		void ConstructL(RFile& aFile);
       
    78 
       
    79     private:    // Data
       
    80                
       
    81         RFile iFile;
       
    82     };
       
    83 
       
    84 #endif      // CIMCVUIAPPICONFILEPROVIDER_H
       
    85 
       
    86 // End of File