userlibandfileserver/fileserver/sfile/sf_std.h
changeset 140 2ac1c5c27758
parent 134 95847726fe57
equal deleted inserted replaced
135:5e441a173c63 140:2ac1c5c27758
   111 #define __PLUGIN_PRINT(t)
   111 #define __PLUGIN_PRINT(t)
   112 #define __PLUGIN_PRINT1(t,a)
   112 #define __PLUGIN_PRINT1(t,a)
   113 #define __PLUGIN_PRINT2(t,a,b)
   113 #define __PLUGIN_PRINT2(t,a,b)
   114 #define __PLUGIN_PRINT3(t,a,b,c)
   114 #define __PLUGIN_PRINT3(t,a,b,c)
   115 #endif
   115 #endif
       
   116 
       
   117 #define _LOFF(p,T,f) ((T*)(((TUint8*)(p))-_FOFF(T,f)))
   116 
   118 
   117 const TInt KMaxTotalDriveReserved	=0x100000;
   119 const TInt KMaxTotalDriveReserved	=0x100000;
   118 const TInt KMaxSessionDriveReserved	=0x10000;
   120 const TInt KMaxSessionDriveReserved	=0x10000;
   119 
   121 
   120 // If TFsFileDuplciate::DoRequestL() is called a new sub-session is created and 
   122 // If TFsFileDuplciate::DoRequestL() is called a new sub-session is created and 
  1309 	inline TInt& LastError();
  1311 	inline TInt& LastError();
  1310 	inline void SetLastError(TInt aLastError);
  1312 	inline void SetLastError(TInt aLastError);
  1311 	inline void Init();
  1313 	inline void Init();
  1312 	void ReStart();
  1314 	void ReStart();
  1313 	TBool IsPluginRequest();
  1315 	TBool IsPluginRequest();
       
  1316 	static inline CFsMessageRequest* RequestFromMessage(const RMessagePtr2& aMessage);
  1314 	
  1317 	
  1315    // UID of the process to touching the file. (To be used in notification framework).
  1318    // UID of the process to touching the file. (To be used in notification framework).
  1316    // TUid iUID;
  1319    // TUid iUID;
  1317 private:
  1320 private:
  1318 	void DoNotify(TInt aError);
  1321 	void DoNotify(TInt aError);