equal
deleted
inserted
replaced
21 |
21 |
22 |
22 |
23 #ifndef AUTOMOUNTER_FILESYSTEM_H |
23 #ifndef AUTOMOUNTER_FILESYSTEM_H |
24 #define AUTOMOUNTER_FILESYSTEM_H |
24 #define AUTOMOUNTER_FILESYSTEM_H |
25 |
25 |
|
26 #include "filesystem_utils.h" |
26 #include <f32fsys.h> |
27 #include <f32fsys.h> |
27 #include <f32dbg.h> |
28 #include <f32dbg.h> |
28 |
29 |
29 |
30 |
30 IMPORT_C TUint32 DebugRegister(); |
31 IMPORT_C TUint32 DebugRegister(); |
70 //####################################################################################################################################### |
71 //####################################################################################################################################### |
71 //# constants definitions here |
72 //# constants definitions here |
72 //####################################################################################################################################### |
73 //####################################################################################################################################### |
73 |
74 |
74 |
75 |
75 //----------------------------------------------------------------------------- |
|
76 |
|
77 const TUint32 K1KiloByte = 1<<10; |
|
78 const TUint32 K1MegaByte = 1<<20; |
|
79 |
|
80 const TUint32 K1uSec = 1; ///< 1 microsecond in TTimeIntervalMicroSeconds32 |
|
81 const TUint32 K1mSec = 1000; ///< 1 millisecond in TTimeIntervalMicroSeconds32 |
|
82 const TUint32 K1Sec = 1000*K1mSec; ///< 1 second in TTimeIntervalMicroSeconds32 |
|
83 |
|
84 |
|
85 const TUint KBitsInByteLog2 = 3; |
|
86 const TUint KBitsInByte = 1<<KBitsInByteLog2; |
|
87 |
|
88 |
|
89 |
76 |
90 //----------------------------------------------------------------------------- |
77 //----------------------------------------------------------------------------- |
91 |
78 |
92 /** |
79 /** |
93 Internal fault codes for Automounter.fsy |
80 Internal fault codes for Automounter.fsy |
164 TInt Install(); |
151 TInt Install(); |
165 CMountCB* NewMountL() const; |
152 CMountCB* NewMountL() const; |
166 CFileCB* NewFileL() const; |
153 CFileCB* NewFileL() const; |
167 CDirCB* NewDirL() const; |
154 CDirCB* NewDirL() const; |
168 CFormatCB* NewFormatL() const; |
155 CFormatCB* NewFormatL() const; |
169 void DriveInfo(TDriveInfo& anInfo,TInt aDriveNumber) const; |
|
170 |
156 |
171 //-- non-pure virtual interface, overrides from CFileSystem |
157 //-- non-pure virtual interface, overrides from CFileSystem |
172 #ifdef _DEBUG |
158 #ifdef _DEBUG |
173 TInt Remove(); |
159 TInt Remove(); |
174 TBool QueryVersionSupported(const TVersion& aVer) const; |
160 TBool QueryVersionSupported(const TVersion& aVer) const; |