Changeset 22919
- Timestamp:
- 2010-09-17T15:13:02+12:00 (13 years ago)
- Location:
- other-projects/gs2-export-cdrom-installer/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/gs2-export-cdrom-installer/trunk/DiskSpace.cpp
r15927 r22919 54 54 } 55 55 56 unsigneddouble DiskSpace::totalFreeSpace()56 double DiskSpace::totalFreeSpace() 57 57 { return this->freeClusters * (((double) (this->sectorsPerCluster * this->bytesPerSector)) / (double) (1024)); 58 58 } -
other-projects/gs2-export-cdrom-installer/trunk/DiskSpace.h
r15927 r22919 15 15 int fileClusters(int fileSize); 16 16 BOOL initialisedOk(); 17 unsigneddouble totalFreeSpace();17 double totalFreeSpace(); 18 18 }; 19 19 -
other-projects/gs2-export-cdrom-installer/trunk/README.txt
r15927 r22919 12 12 cannot be recompiled. (The source for it is in the "really-really-old-stuff" directory.) 13 13 14 The gssetup.exe program can be compiled using Microsoft Visual C++ 4.2 on kohekohe: 14 The gssetup.exe program can be compiled using Microsoft Visual Studio 9.0 on the 15 Vista machine as follows: 16 [If using Microsoft Visual C++ 4.2 or older, you want to check out an older version 17 of gs2-export-cdrom-installer and follow its README instructions.] 15 18 16 1. C:\MSDEV\bin\VCVARS32.bat 19 (0. For windows.h includes: 20 call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd") 21 1. call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" 17 22 2. nmake /f win32.mak (in the gsinstaller directory) 18 23 19 Note: stlport.zip is required for compiling. This file is avaible in Greenstone SVN at http://svn.greenstone.org/gsdl/trunk/packages/windows/stlport/. Download and unzip the zip file, and change the include path in win32.mak accordingly. 24 25 -
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 -
other-projects/gs2-export-cdrom-installer/trunk/fileCopier.h
r15927 r22919 29 29 unsigned long getOriginalSize(); 30 30 unsigned long getOriginalFiles(); 31 unsigneddouble getCopiedSize(DiskSpace &space);31 double getCopiedSize(DiskSpace &space); 32 32 bool ensureParent(FilePath &child, fileCopyMonitor *monitor); 33 33 bool copyFile(File *file, fileCopyMonitor *monitor, copyProgressBar *progressBar); -
other-projects/gs2-export-cdrom-installer/trunk/vcinstall.rc
r11702 r22919 8 8 // Generated from the TEXTINCLUDE 2 resource. 9 9 // 10 #include "afxres.h" 10 // afxres.h not part of Visual Studio Express. Changed to windows.h 11 // here and in "2 TEXTINCLUDE DISCARDABLE " section 12 //#include "afxres.h" 13 #include "windows.h" 11 14 12 15 ///////////////////////////////////////////////////////////////////////////// … … 35 38 2 TEXTINCLUDE DISCARDABLE 36 39 BEGIN 37 "#include "" afxres.h""\r\n"40 "#include ""windows.h""\r\n" 38 41 "\0" 39 42 END -
other-projects/gs2-export-cdrom-installer/trunk/win32.mak
r11684 r22919 26 26 CC = cl 27 27 CPPFLAGS = -GX 28 DEFS = -DGSDL_NAMESPACE_BROKEN -D__STL_NO_NEW_IOSTREAMS29 INCLUDES = -I"C:\mdewsnip\gsdl-cvs.new\packages\windows\stlport\stlport"28 DEFS = 29 INCLUDES = 30 30 31 31 COMPILE = $(CC) -nologo -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
Note:
See TracChangeset
for help on using the changeset viewer.