userlibandfileserver/fileserver/inc/f32fsys.h
branchGCC_SURGE
changeset 221 39b39e1a406e
parent 201 43365a9b78a3
child 266 0008ccd16016
equal deleted inserted replaced
219:0ff03867bdb6 221:39b39e1a406e
   506 	CFileCB* LocateFileByPath(const TDesC& aPath);
   506 	CFileCB* LocateFileByPath(const TDesC& aPath);
   507 	TInt CheckDirectories(const TDesC& anOldName,const TDesC& aNewName);
   507 	TInt CheckDirectories(const TDesC& anOldName,const TDesC& aNewName);
   508 	void DoEntryL(const TDesC& aName,TEntry& anEntry);
   508 	void DoEntryL(const TDesC& aName,TEntry& anEntry);
   509 	void ReadSectionL(const TDesC& aName,TInt64 aPos,TAny* aTrg,TInt aLength,const RMessagePtr2& aMessage);
   509 	void ReadSectionL(const TDesC& aName,TInt64 aPos,TAny* aTrg,TInt aLength,const RMessagePtr2& aMessage);
   510 	TInt ValidateShare(CFileCB& aFile,TShare aReqShare);
   510 	TInt ValidateShare(CFileCB& aFile,TShare aReqShare);
   511 	TInt CheckAttributes(const TDesC& aName,TUint& aSetAttMask,TUint& aClearAttMask);
   511 	TInt CheckAttributes(TUint& aSetAttMask,TUint& aClearAttMask);
   512 	TBool IsExtensionMounted(CProxyDriveFactory* aFactory);
   512 	TBool IsExtensionMounted(CProxyDriveFactory* aFactory);
   513 	CFileCB* LocateFile(const TDesC& aName);
   513 	CFileCB* LocateFile(const TDesC& aName);
   514 	CFileCache* LocateClosedFile(const TDesC& aName, TBool aResurrect = ETrue);
   514 	CFileCache* LocateClosedFile(const TDesC& aName, TBool aResurrect = ETrue);
   515 	TBool ReMount();
   515 	TBool ReMount();
   516 	IMPORT_C TBool IsDriveThread() const;
   516 	IMPORT_C TBool IsDriveThread() const;
  1630 	void SetSizeL(TInt64 aSize);
  1630 	void SetSizeL(TInt64 aSize);
  1631 
  1631 
  1632 	IMPORT_C TInt64 Size64() const;
  1632 	IMPORT_C TInt64 Size64() const;
  1633 	IMPORT_C void SetSize64(TInt64 aSize, TBool aDriveLocked);
  1633 	IMPORT_C void SetSize64(TInt64 aSize, TBool aDriveLocked);
  1634     IMPORT_C void SetMaxSupportedSize(TUint64 aMaxFileSize);
  1634     IMPORT_C void SetMaxSupportedSize(TUint64 aMaxFileSize);
       
  1635 	IMPORT_C TBool DirectIOMode(const RMessagePtr2& aMessage);
  1635 
  1636 
  1636 
  1637 
  1637     TInt64 CachedSize64() const;
  1638     TInt64 CachedSize64() const;
  1638 	void SetCachedSize64(TInt64 aSize);
  1639 	void SetCachedSize64(TInt64 aSize);
  1639 	TInt FindLock64(TInt64 aPosLow,TInt64 aPosHigh);
  1640 	TInt FindLock64(TInt64 aPosLow,TInt64 aPosHigh);
  2489 	};
  2490 	};
  2490 
  2491 
  2491 
  2492 
  2492 
  2493 
  2493 
  2494 
       
  2495 class CProxyDriveBody;	// fwd ref
  2494 /**
  2496 /**
  2495 @publishedPartner
  2497 @publishedPartner
  2496 @released
  2498 @released
  2497 
  2499 
  2498 Base abstract class.
  2500 Base abstract class.
  2514 	IMPORT_C virtual TInt Write(TInt64 aPos,TInt aLength,const TAny* aSrc,TInt aThreadHandle,TInt anOffset,TInt aFlags);
  2516 	IMPORT_C virtual TInt Write(TInt64 aPos,TInt aLength,const TAny* aSrc,TInt aThreadHandle,TInt anOffset,TInt aFlags);
  2515 	IMPORT_C virtual TInt DeleteNotify(TInt64 aPos, TInt aLength);
  2517 	IMPORT_C virtual TInt DeleteNotify(TInt64 aPos, TInt aLength);
  2516 	IMPORT_C virtual TInt GetLastErrorInfo(TDes8& aErrorInfo);
  2518 	IMPORT_C virtual TInt GetLastErrorInfo(TDes8& aErrorInfo);
  2517 
  2519 
  2518 	inline TInt LocalBufferSupport();
  2520 	inline TInt LocalBufferSupport();
       
  2521 
       
  2522 	TInt SetAndOpenLibrary(RLibrary aLibrary);
       
  2523 	RLibrary GetLibrary();
       
  2524 
  2519 	
  2525 	
  2520 // pure virtual
  2526 // pure virtual
  2521 
  2527 
  2522 	/**
  2528 	/**
  2523 	Initialise the proxy drive. 
  2529 	Initialise the proxy drive. 
  2757 	*/	
  2763 	*/	
  2758 	IMPORT_C virtual TInt GetInterface(TInt aInterfaceId,TAny*& aInterface,TAny* aInput);
  2764 	IMPORT_C virtual TInt GetInterface(TInt aInterfaceId,TAny*& aInterface,TAny* aInput);
  2759 		
  2765 		
  2760 private:
  2766 private:
  2761 	CMountCB* iMount;
  2767 	CMountCB* iMount;
  2762 	TUint32 iReserved;				// Reserved for future expansion
  2768 	CProxyDriveBody* iBody;
       
  2769 
       
  2770 friend class LocalDrives;
  2763 	};
  2771 	};
  2764 
  2772 
  2765 
  2773 
  2766 
  2774 
  2767 
  2775