epoc32/include/baspi.h
branchSymbian3
changeset 4 837f303aceeb
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __BASPI_H__
       
    17 #define __BASPI_H__
       
    18 
       
    19 #include <f32file.h>
       
    20 
       
    21 //Forward declarations
       
    22 class CResourceFile;
       
    23 class CResourceArchiveImpl;
       
    24 
       
    25 /** 
       
    26 Class for accessing the resource archive SPI file
       
    27 @internalAll 
       
    28 */
       
    29 class RResourceArchive
       
    30 	{
       
    31 public:
       
    32 	IMPORT_C RResourceArchive();
       
    33 
       
    34 	IMPORT_C void Close();
       
    35 	
       
    36 	IMPORT_C void OpenL(RFs& aFs,const TDesC &aName);
       
    37 	
       
    38 	IMPORT_C void OpenL(RFs& aFs,const TDesC& aSpiPath,const TDesC& aSpiName);
       
    39 
       
    40 	IMPORT_C CResourceFile* NextL(HBufC*& aRscFileName);
       
    41 	
       
    42 	IMPORT_C TBool End();
       
    43 	
       
    44 	IMPORT_C void Reset();
       
    45 	
       
    46 	IMPORT_C TUid Type();
       
    47 private:
       
    48 	CResourceArchiveImpl* iArchiveImpl;
       
    49 	};
       
    50 
       
    51 #endif//__BASPI_H__