- Timestamp:
- 2010-09-17T15:13:02+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/gs2-export-cdrom-installer/trunk/fileCopier.cpp
r15927 r22919 6 6 #include <direct.h> 7 7 8 #if defined (GSDL_USE_IOS_H) 8 9 #include <fstream.h> 10 #else 11 #include <fstream> 12 #endif 9 13 10 14 fileCopySet::fileCopySet() … … 185 189 while (here != end) 186 190 { 187 this->copy(here, monitor, progressBar); 191 File& file_here = (*here); // to the best of our understanding, this returns a reference to the object (rather than a local copy) 192 this->copy(&file_here, monitor, progressBar); 188 193 here ++; 189 194 } … … 211 216 while (here != end) 212 217 { 213 this->copy(here, monitor, progressBar); 214 here ++; 215 } 216 } 217 218 unsigned double fileCopySet::getCopiedSize(DiskSpace &space) 218 File& file_here = (*here); // to the best of our understanding, this returns a reference to the object (rather than a local copy) 219 this->copy(&file_here, monitor, progressBar); 220 here ++; 221 } 222 } 223 224 double fileCopySet::getCopiedSize(DiskSpace &space) 219 225 { 220 226 // initialise counters for size
Note:
See TracChangeset
for help on using the changeset viewer.