| 92 | |
| 93 | |
| 94 | void cInitFile::initMappings(const Apto::Map<Apto::String, Apto::String>& mappings) |
| 95 | { |
| 96 | for (Apto::Map<Apto::String, Apto::String>::ConstIterator it = mappings.Begin(); it.Next() != NULL;) { |
| 97 | m_mappings.Set(it.Get()->Value1(), *it.Get()->Value2()); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | |
| 102 | bool cInitFile::loadFile(const cString& filename, Apto::Array<sLine*, Apto::Smart>& lines, const cString& working_dir, |