userlibandfileserver/fileserver/inc/f32file.h
branchRCL_3
changeset 20 597aaf25e343
parent 19 4a8fed1c0ef6
child 28 5b5d147c7838
equal deleted inserted replaced
19:4a8fed1c0ef6 20:597aaf25e343
  3027 	};
  3027 	};
  3028 
  3028 
  3029 
  3029 
  3030 
  3030 
  3031 
  3031 
  3032 class TFindFile
  3032 
  3033 /**
  3033 /**
  3034 @publishedAll
  3034 @publishedAll
  3035 @released
  3035 @released
  3036 
  3036 
  3037 Searches for files and directories.
  3037 Searches for files and directories.
  3054 excluding the remote ones, will be searched. Using function SetFindMask it is 
  3054 excluding the remote ones, will be searched. Using function SetFindMask it is 
  3055 possible to specify a combination of drive attributes(aMask) that the drives to 
  3055 possible to specify a combination of drive attributes(aMask) that the drives to 
  3056 be searched must match.  
  3056 be searched must match.  
  3057  
  3057  
  3058 */
  3058 */
       
  3059 class TFindFile
  3059 	{
  3060 	{
  3060 public:
  3061 public:
  3061 	IMPORT_C TFindFile(RFs& aFs);
  3062 	IMPORT_C TFindFile(RFs& aFs);
  3062 	IMPORT_C TInt FindByPath(const TDesC& aFileName,const TDesC* aPathList);
  3063 	IMPORT_C TInt FindByPath(const TDesC& aFileName,const TDesC* aPathList);
  3063 	IMPORT_C TInt FindByDir(const TDesC& aFileName,const TDesC& aDirPath);
  3064 	IMPORT_C TInt FindByDir(const TDesC& aFileName,const TDesC& aDirPath);
  3072 	TInt DoFindByPath(const TDesC& aFileName,const TDesC* aPathList);
  3073 	TInt DoFindByPath(const TDesC& aFileName,const TDesC* aPathList);
  3073 	TInt DoFindByDir(const TDesC& aFileName,const TDesC& aDir);
  3074 	TInt DoFindByDir(const TDesC& aFileName,const TDesC& aDir);
  3074 	TInt DoFindInDir();
  3075 	TInt DoFindInDir();
  3075 	TInt DoFindNextInPath();
  3076 	TInt DoFindNextInPath();
  3076 	TInt DoFindNextInDriveList();
  3077 	TInt DoFindNextInDriveList();
       
  3078     TInt CallSafe(TInt aResult);
  3077 private:
  3079 private:
  3078 	RFs* const iFs;
  3080 	RFs* const iFs;
  3079 	TParse iFile;
  3081 	TParse iFile;
  3080 	TInt iPathPos;
  3082 	TInt iPathPos;
  3081 	TInt iCurrentDrive;
  3083 	TInt iCurrentDrive;