equal
deleted
inserted
replaced
30 #include <e32std_private.h> |
30 #include <e32std_private.h> |
31 #include <e32def_private.h> |
31 #include <e32def_private.h> |
32 #include <e32const_private.h> |
32 #include <e32const_private.h> |
33 #include "sf_plugin.h" |
33 #include "sf_plugin.h" |
34 #include "sf_func.h" |
34 #include "sf_func.h" |
35 #include <F32plugin.h> |
35 #include <f32plugin.h> |
36 #include "f32trace.h" |
36 #include "f32trace.h" |
37 #include <utraceefile.h> |
37 #include <utraceefile.h> |
38 |
38 |
39 #define __PRINT1TEMP_ALWAYS(t,a) {{TBuf<KMaxFileName>temp(a);RDebug::Print(t,&temp);}} |
39 #define __PRINT1TEMP_ALWAYS(t,a) {{TBuf<KMaxFileName>temp(a);RDebug::Print(t,&temp);}} |
40 #define __PRINT2TEMP_ALWAYS(t,a,b) {{TBuf<KMaxFileName>temp(b);RDebug::Print(t,a,&temp);}} |
40 #define __PRINT2TEMP_ALWAYS(t,a,b) {{TBuf<KMaxFileName>temp(b);RDebug::Print(t,a,&temp);}} |
112 #define __PLUGIN_PRINT(t) |
112 #define __PLUGIN_PRINT(t) |
113 #define __PLUGIN_PRINT1(t,a) |
113 #define __PLUGIN_PRINT1(t,a) |
114 #define __PLUGIN_PRINT2(t,a,b) |
114 #define __PLUGIN_PRINT2(t,a,b) |
115 #define __PLUGIN_PRINT3(t,a,b,c) |
115 #define __PLUGIN_PRINT3(t,a,b,c) |
116 #endif |
116 #endif |
|
117 |
|
118 #define _LOFF(p,T,f) ((T*)(((TUint8*)(p))-_FOFF(T,f))) |
117 |
119 |
118 const TInt KMaxTotalDriveReserved =0x100000; |
120 const TInt KMaxTotalDriveReserved =0x100000; |
119 const TInt KMaxSessionDriveReserved =0x10000; |
121 const TInt KMaxSessionDriveReserved =0x10000; |
120 |
122 |
121 // If TFsFileDuplciate::DoRequestL() is called a new sub-session is created and |
123 // If TFsFileDuplciate::DoRequestL() is called a new sub-session is created and |
1310 inline TInt& LastError(); |
1312 inline TInt& LastError(); |
1311 inline void SetLastError(TInt aLastError); |
1313 inline void SetLastError(TInt aLastError); |
1312 inline void Init(); |
1314 inline void Init(); |
1313 void ReStart(); |
1315 void ReStart(); |
1314 TBool IsPluginRequest(); |
1316 TBool IsPluginRequest(); |
|
1317 static inline CFsMessageRequest* RequestFromMessage(const RMessagePtr2& aMessage); |
1315 |
1318 |
1316 // UID of the process to touching the file. (To be used in notification framework). |
1319 // UID of the process to touching the file. (To be used in notification framework). |
1317 // TUid iUID; |
1320 // TUid iUID; |
1318 private: |
1321 private: |
1319 void DoNotify(TInt aError); |
1322 void DoNotify(TInt aError); |
|
1323 void DoNotifyDiskSpace(TInt aError); |
1320 TInt DoInitialise(); |
1324 TInt DoInitialise(); |
1321 TInt PostInitialise(); |
1325 TInt PostInitialise(); |
1322 TBool DispatchToPlugin(); |
1326 TBool DispatchToPlugin(); |
1323 void ProcessPostOperation(); |
1327 void ProcessPostOperation(); |
1324 void ProcessPreOperation(); |
1328 void ProcessPreOperation(); |