convergedcallengine/serviceselector/inc/cssiconfileprovider.h
changeset 0 ff3b6d0fd310
child 12 ae8abd0db65c
child 43 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     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:  This file contains the header file of the
       
    15 *              : CSsIconFileProvider class.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef C_SSICONFILEPROVIDER_H
       
    20 #define C_SSICONFILEPROVIDER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <AknIconUtils.h>
       
    24 
       
    25 /**
       
    26  *  Declarition of CSsIconFileProvider.
       
    27  *
       
    28  *  @since S60 v5.0
       
    29  */
       
    30 NONSHARABLE_CLASS( CSsIconFileProvider ) : public CBase,
       
    31                                                      public MAknIconFileProvider
       
    32     {
       
    33     public:
       
    34 
       
    35         /**
       
    36          * Two-phased constructor.
       
    37          * @param aFile for handle to file
       
    38          */
       
    39         static CSsIconFileProvider* NewL( RFile& aFile );
       
    40 
       
    41         /**
       
    42          * Destructor.
       
    43          */
       
    44         virtual ~CSsIconFileProvider();
       
    45 
       
    46     public: // from base class MAknIconFileProvider
       
    47 
       
    48         /**
       
    49          * from MAknIconFileProvider.
       
    50          */
       
    51         void RetrieveIconFileHandleL( RFile& aFile, const TIconFileType aType );
       
    52 
       
    53         /**
       
    54          * from MAknIconFileProvider.
       
    55          */
       
    56         void Finished();
       
    57 
       
    58     private:
       
    59 
       
    60         /**
       
    61          * C++ default constructor.
       
    62          */
       
    63         CSsIconFileProvider();
       
    64 
       
    65          /**
       
    66           * By default Symbian 2nd phase constructor is private.
       
    67           */
       
    68 	    void ConstructL( RFile& aFile );
       
    69 
       
    70     private: // data
       
    71 
       
    72         // File handle. Own.
       
    73         RFile iFile;
       
    74 
       
    75     };
       
    76 
       
    77 #endif // C_SSICONFILEPROVIDER_H
       
    78 
       
    79 // End of File