Changeset 2073 for trunk/gsinstaller


Ignore:
Timestamp:
2001-02-27T13:30:53+13:00 (23 years ago)
Author:
sjboddie
Message:

minor mods. changed some occurances of bool, true, and false to BOOL, TRUE
and FALSE in copyProgress.cpp (for VC++4.2) and changed all references to
gsdl.ini to instead point at gsdlsite.cfg.

Location:
trunk/gsinstaller
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsinstaller/copyProgress.cpp

    r1767 r2073  
    4343
    4444void copyProgressBar::registerClass()
    45 {   static bool registered = false;
     45{   static BOOL registered = FALSE;
    4646
    47     if (registered == false)
     47    if (registered == FALSE)
    4848  { WNDCLASS classdef;
    4949
     
    5959    classdef.lpszClassName  = "CopyProgressBar";
    6060    RegisterClass(&classdef);
    61     registered  = true;
     61    registered  = TRUE;
    6262  }
    6363}
  • trunk/gsinstaller/gsinstall.cpp

    r2063 r2073  
    203203
    204204      // Get location of the library executable from the registry; this
    205       // is thence used to get the location of gsdl.ini etc.
     205      // is thence used to get the location of gsdlsite.cfg etc.
    206206      this->collectPath = this->gsRegister->collectionPath();
    207207      if (this->collectPath->pathString() != "")
     
    425425  this->manifest = new gsManifest(*this); // get a manifest manager
    426426
    427   iniPath = new FilePath(this->collectPath->pathString(), "gsdl.ini");
     427  iniPath = new FilePath(this->collectPath->pathString(), "gsdlsite.cfg");
    428428  gsProfile gsdlProfile(*this, iniPath->pathString());
    429429
     
    566566      exePath = this->collectPath;
    567567    }
    568   iniPath = new FilePath(exePath->pathString(), "gsdl.ini");
     568  iniPath = new FilePath(exePath->pathString(), "gsdlsite.cfg");
    569569
    570570  // TODO: check if this 'if' structure is correct; suspect that it isn't quite
     
    592592    }
    593593
    594       // create a profile object to write to the gsdl.ini file
     594      // create a profile object to write to the gsdlsite.cfg file
    595595      gsProfile gsdlProfile(*this, iniPath->pathString());
    596596
     
    599599      if (this->installExe)
    600600    {
    601       // set the correct exe entries in gsdl.ini (in the gsdl section)
     601      // set the correct exe entries in gsdlsite.cfg (in the gsdl section)
    602602      gsdlProfile.writeString("gsdl", "gsdlhome", dataPath->pathString());
    603603      gsdlProfile.writeString("gsdl", "gdbmhome", this->dataDestPath->pathString());
    604604    }
    605605
    606       // set the correct collection volume entries in gsdl.ini
     606      // set the correct collection volume entries in gsdlsite.cfg
    607607      if (this->installVolume)
    608608    {
Note: See TracChangeset for help on using the changeset viewer.