equal
deleted
inserted
replaced
110 FILE *fh; |
110 FILE *fh; |
111 #ifdef Q_WS_WIN |
111 #ifdef Q_WS_WIN |
112 HANDLE fileHandle; |
112 HANDLE fileHandle; |
113 HANDLE mapHandle; |
113 HANDLE mapHandle; |
114 QHash<uchar *, DWORD /* offset % AllocationGranularity */> maps; |
114 QHash<uchar *, DWORD /* offset % AllocationGranularity */> maps; |
|
115 |
|
116 #ifndef Q_OS_WINCE |
115 mutable int cachedFd; |
117 mutable int cachedFd; |
|
118 #endif |
|
119 |
116 mutable DWORD fileAttrib; |
120 mutable DWORD fileAttrib; |
117 #else |
121 #else |
118 QHash<uchar *, QPair<int /*offset % PageSize*/, size_t /*length + offset % PageSize*/> > maps; |
122 QHash<uchar *, QPair<int /*offset % PageSize*/, size_t /*length + offset % PageSize*/> > maps; |
119 mutable QT_STATBUF st; |
123 mutable QT_STATBUF st; |
120 #endif |
124 #endif |
158 protected: |
162 protected: |
159 QFSFileEnginePrivate(); |
163 QFSFileEnginePrivate(); |
160 |
164 |
161 void init(); |
165 void init(); |
162 |
166 |
163 #if defined(Q_OS_WIN32) || defined(Q_OS_WINCE) |
167 QAbstractFileEngine::FileFlags getPermissions(QAbstractFileEngine::FileFlags type) const; |
164 QAbstractFileEngine::FileFlags getPermissions() const; |
|
165 #endif |
|
166 }; |
168 }; |
167 |
169 |
168 QT_END_NAMESPACE |
170 QT_END_NAMESPACE |
169 |
171 |
170 #endif // QT_NO_FSFILEENGINE |
172 #endif // QT_NO_FSFILEENGINE |