Changes in src/builder.cpp [952f38:097902]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/builder.cpp ¶
r952f38 r097902 59 59 #include "CommandLineParser.hpp" 60 60 #include "config.hpp" 61 #include " Helpers/Log.hpp"61 #include "log.hpp" 62 62 #include "molecule.hpp" 63 63 #include "periodentafel.hpp" … … 72 72 #include "UIElements/Dialog.hpp" 73 73 #include "Menu/ActionMenuItem.hpp" 74 #include " Helpers/Verbose.hpp"74 #include "verbose.hpp" 75 75 #include "World.hpp" 76 76 … … 110 110 } 111 111 112 void dumpMemory(){ 113 ofstream ost("molecuilder.memdump"); 114 Memory::dumpMemory(ost); 115 } 116 112 117 int main(int argc, char **argv) 113 118 { 114 119 // while we are non interactive, we want to abort from asserts 115 //ASSERT_DO(Assert::Abort); 120 ASSERT_DO(Assert::Abort); 121 ASSERT_HOOK(dumpMemory); 116 122 string line; 117 123 char **Arguments = NULL; … … 127 133 // need to init the history before any action is created 128 134 ActionHistory::init(); 129 130 // In the interactive mode, we can leave the user the choice in case of error131 ASSERT_DO(Assert::Ask);132 135 133 136 // from this moment on, we need to be sure to deeinitialize in the correct order … … 155 158 UIFactory::makeUserInterface("CommandLine"); 156 159 } else { 160 // In the interactive mode, we can leave the user the choice in case of error 161 ASSERT_DO(Assert::Ask); 157 162 #ifdef USE_GUI_QT 158 163 DoLog(0) && (Log() << Verbose(0) << "Setting UI to QT4." << endl);
Note:
See TracChangeset
for help on using the changeset viewer.