epoc32/include/bafindf.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000 (2010-03-16)
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 // Copyright (c) 1997-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #if !defined(__BAFINDF_H__)
    17 #define __BAFINDF_H__
    18 
    19 #include <e32base.h>
    20 #include <f32file.h>
    21 
    22 class CFindFileByType : public CBase
    23 /**
    24 @publishedAll
    25 @released
    26 */
    27 	{
    28 public:
    29 	IMPORT_C CFindFileByType(RFs& aFs);
    30 	IMPORT_C ~CFindFileByType();
    31 	IMPORT_C TInt FindFirst(const TDesC& aName,const TDesC& aDir,const TUidType& aType);
    32 	IMPORT_C TInt FindNext();
    33 	IMPORT_C const TEntry& Entry() const;
    34 	inline const TParse& File() const;
    35 private:
    36 	void CloseDir();
    37 private:
    38 	TUidType iType;
    39 	CDir* iDir;
    40 	TInt iCurrentFile;
    41 	TParse iFile;
    42 	TFindFile iFind;
    43 	};
    44 
    45 inline const TParse& CFindFileByType::File() const
    46 	{return iFile;}
    47 
    48 #endif