| 272 | } |
| 273 | |
| 274 | int |
| 275 | SimulationInformation::addInputFile(const char *fileName, const char *path) |
| 276 | { |
| 277 | |
| 278 | // windows throws this one in if nothing provided on the cmd line |
| 279 | if (strstr(fileName,"history.tcl") != 0) |
| 280 | return 0; |
| 281 | |
| 282 | |
| 283 | if (numInputFiles == 0) |
| 284 | theFiles->addFile(fileName, path, "Main Input File"); |
| 285 | else |
| 286 | theFiles->addFile(fileName, path, "Input File"); |
| 287 | |
| 288 | numInputFiles++; |
| 289 | |
| 290 | return 0; |
| 291 | } |
| 292 | |
| 293 | |
| 294 |