CFileBase Class Reference

class CFileBase : public CBase

Abstract base class for file management.

It provides functions to set an observer for the derived class CFileMan, and to get information about the entry being processed.

CFileMan

Inherits from

Constructor & Destructor Documentation

CFileBase(RFs &)

IMPORT_CCFileBase(RFs &anFs)[protected]

Parameters

RFs & anFs

~CFileBase()

IMPORT_C~CFileBase()[protected]

Member Functions Documentation

AbbreviatedPath()

IMPORT_C TPtrCAbbreviatedPath()

CompleteOperationL()

voidCompleteOperationL()[protected, inline, virtual]

Called from RunL to perform tidy up after an operation.

CFileMan

CFileBase::RunL

ConstructL()

IMPORT_C voidConstructL()[protected]

CurrentEntry()

IMPORT_C const TEntry &CurrentEntry()

DoOperationL()

voidDoOperationL()[protected, pure virtual]

Called from RunL to perform the requested operation.

CFileMan

CFileBase::RunL

FullPath()

IMPORT_C TPtrCFullPath()

GetLastError()

IMPORT_C TIntGetLastError()

GetMoreInfoAboutError()

IMPORT_C TFileManErrorGetMoreInfoAboutError()

RunInSeparateThreadL(TThreadFunction)

IMPORT_C voidRunInSeparateThreadL(TThreadFunctionaThreadFunction)[protected]

Parameters

TThreadFunction aThreadFunction

RunL()

IMPORT_C voidRunL()[protected]

SetObserver(MFileManObserver *)

IMPORT_C voidSetObserver(MFileManObserver *anObserver)

Parameters

MFileManObserver * anObserver

Member Data Documentation

TInt iCurrentEntry

TInt iCurrentEntry[protected]

CDir * iDirList

CDir *iDirList[protected]

TFileManError iErrorInfo

TFileManError iErrorInfo[protected]

RThread iFManThread

RThread iFManThread[protected]

RFs iFs

RFs iFs[protected]

RFs iFsOld

RFs iFsOld[protected]

TInt iLastError

TInt iLastError[protected]

TUint iMatchEntry

TUint iMatchEntry[protected]

TInt iNumberOfFilesProcessed

TInt iNumberOfFilesProcessed[protected]

MFileManObserver * iObserver

MFileManObserver *iObserver[protected]

CDirScan * iScanner

CDirScan *iScanner[protected]

HBufC * iSessionPath

HBufC *iSessionPath[protected]

TParse iSrcFile

TParse iSrcFile[protected]

TRequestStatus * iStatus

TRequestStatus *iStatus[protected]

TUint iSwitches

TUint iSwitches[protected]

RSemaphore iSynchronizer

RSemaphore iSynchronizer[protected]