skins/AknSkins/inc/AknsFsHandleProvider.h
changeset 0 05e9090e2422
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 /*
       
     2 * Copyright (c) 2002-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:  File handle provider.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __AKNSFSHANDLEPROVIDER__H__
       
    19 #define __AKNSFSHANDLEPROVIDER__H__
       
    20 
       
    21 #include <AknIconUtils.h>
       
    22 
       
    23 class RAknsSrvSession;
       
    24 
       
    25 NONSHARABLE_CLASS( CAknsFsHandleProvider ) : public CBase, public MAknIconFileProvider
       
    26 {
       
    27 public:
       
    28     static CAknsFsHandleProvider* NewL(RAknsSrvSession* aSkinSrvSession, const TDesC& aFilename);
       
    29     ~CAknsFsHandleProvider();
       
    30 
       
    31 protected:
       
    32     CAknsFsHandleProvider(RAknsSrvSession* aSkinSrvSession);
       
    33     void ConstructL(const TDesC& aFilename);
       
    34     void RetrieveIconFileHandleL(RFile& aFile, const TIconFileType aType );
       
    35     void Finished();
       
    36 
       
    37 private:
       
    38     RAknsSrvSession* iSkinSrvSession;
       
    39     HBufC* iFilename;
       
    40     };
       
    41 
       
    42 
       
    43 #endif