equal
deleted
inserted
replaced
163 default: |
163 default: |
164 return EFalse; |
164 return EFalse; |
165 } |
165 } |
166 } |
166 } |
167 |
167 |
168 TUint TOperation::NotifyType() const |
|
169 // |
|
170 // Convert operation that caused the notification to a |
|
171 // value corresponding to the correct TNotifyType enum |
|
172 // |
|
173 { |
|
174 switch (iFunction) |
|
175 { |
|
176 case EFsFileCreate: |
|
177 case EFsFileReplace: |
|
178 case EFsDelete: |
|
179 case EFsReplace: |
|
180 case EFsFileRename: |
|
181 return(ENotifyFile|ENotifyEntry); |
|
182 case EFsMkDir: |
|
183 case EFsRmDir: |
|
184 return(ENotifyDir|ENotifyEntry); |
|
185 case EFsRename: |
|
186 return(ENotifyDir|ENotifyFile|ENotifyEntry); |
|
187 case EFsSetVolume: |
|
188 return(ENotifyDisk|ENotifyEntry); |
|
189 case EFsFileSet: |
|
190 case EFsFileSetAtt: |
|
191 case EFsFileSetModified: |
|
192 case EFsFileSetSize: |
|
193 case EFsSetEntry: |
|
194 return(ENotifyAttributes); |
|
195 case EFsFileWrite: |
|
196 case EFsFileWriteDirty: |
|
197 return(ENotifyWrite); |
|
198 case EFsRawDiskWrite: |
|
199 case EFsLockDrive: |
|
200 case EFsUnlockDrive: |
|
201 return(ENotifyDisk); |
|
202 case EFsFileTemp: |
|
203 case EFsSetDriveName: |
|
204 return(ENotifyAll); |
|
205 default: |
|
206 return(0); |
|
207 } |
|
208 } |
|
209 |
|
210 TBool TOperation::IsCompleted() const |
168 TBool TOperation::IsCompleted() const |
211 // |
169 // |
212 // |
170 // |
213 // |
171 // |
214 { |
172 { |