Mercurial > hg > soniczoomios
diff presetManager.mm @ 30:c0a6f7c66719
Josh M test "in house" version 0.1
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 27 Feb 2013 11:39:07 +0000 |
parents | fabb3a5cdfc9 |
children | 23ef179c3748 |
line wrap: on
line diff
--- a/presetManager.mm Fri Feb 22 17:41:38 2013 +0000 +++ b/presetManager.mm Wed Feb 27 11:39:07 2013 +0000 @@ -157,12 +157,8 @@ } //--------------------------------------------------------------------------- void PresetManager::printAll(){ - cout << "ALL PRESETS: \n"; - vector<Preset *>::iterator presetIter; - for(presetIter = thePresets.begin(); presetIter < thePresets.end(); presetIter++){ - cout << **presetIter; - - } + cout << "----------------ALL PRESETS-------------: \n"; + cout << allPresetsToJson() << "\n"; } //--------------------------------------------------------------------------- void PresetManager::showNameDialog(){ @@ -243,7 +239,7 @@ } //----------------------------------------------cu----------------------------- -void PresetManager::startupLoadAll(){ +void PresetManager::startLoadAll(){ // get stuff from file // load file