Mercurial > hg > soniczoomios
diff presetManager.h @ 7:845ea04f8e33
more logging, user id, preset info
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Thu, 06 Dec 2012 18:26:51 +0000 |
parents | 5ee5ef99e117 |
children | e2c6cfe8c6b7 |
line wrap: on
line diff
--- a/presetManager.h Thu Dec 06 13:55:58 2012 +0000 +++ b/presetManager.h Thu Dec 06 18:26:51 2012 +0000 @@ -20,7 +20,7 @@ //--------------------------------------------------------------------------- class Preset{ public: - + string userName; int presetID; string name; long long savetime; @@ -118,11 +118,10 @@ is >> stime >> delim >> px >> delim >> py; if(!is){ - cout << "problem reading preset file"; return(is); } TwoVector pcoord(px,py); - int n = p.loadPreset(pcoord, pname, stime); + p.loadPreset(pcoord, pname, stime); return(is); }