Changes in src/moleculelist.cpp [2ba827:520c8b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/moleculelist.cpp
r2ba827 r520c8b 50 50 void MoleculeListClass::insert(molecule *mol) 51 51 { 52 OBSERVE;52 START_OBSERVER; 53 53 mol->IndexNr = MaxIndex++; 54 54 ListOfMolecules.push_back(mol); 55 55 mol->signOn(this); 56 FINISH_OBSERVER; 56 57 }; 57 58 … … 891 892 892 893 void MoleculeListClass::createNewMolecule(periodentafel *periode) { 893 OBSERVE;894 START_OBSERVER; 894 895 molecule *mol = NULL; 895 896 mol = new molecule(periode); 896 897 insert(mol); 898 FINISH_OBSERVER; 897 899 }; 898 900
Note:
See TracChangeset
for help on using the changeset viewer.