Changeset 538744 for molecuilder/src/builder.cpp
- Timestamp:
- Jan 5, 2010, 9:23:25 AM (16 years ago)
- Children:
- 70c4aa6
- Parents:
- 16f86d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/builder.cpp
r16f86d r538744 78 78 */ 79 79 static int ParseCommandLineOptions(int argc, char **argv, MoleculeListClass *&molecules, periodentafel *&periode,\ 80 config& configuration, char *&ConfigFileName , oldmenu *main_menu)80 config& configuration, char *&ConfigFileName) 81 81 { 82 82 Vector x,y,z,n; // coordinates for absolute point in cell volume … … 879 879 } while (argptr < argc); 880 880 if (SaveFlag) 881 main_menu->SaveConfig(ConfigFileName, &configuration, periode, molecules);881 configuration.SaveAll(ConfigFileName, periode, molecules); 882 882 } else { // no arguments, hence scan the elements db 883 883 if (periode->LoadPeriodentafel(configuration.databasepath)) … … 907 907 main_menu = new oldmenu; 908 908 setVerbosity(0); 909 /* main menu is needed to call actions inside the menu */910 909 /* structure of ParseCommandLineOptions will be refactored later */ 911 j = ParseCommandLineOptions(argc, argv, molecules, periode, *configuration, ConfigFileName ,main_menu);910 j = ParseCommandLineOptions(argc, argv, molecules, periode, *configuration, ConfigFileName); 912 911 switch (j){ 913 912 case 255:
Note:
See TracChangeset
for help on using the changeset viewer.