1.1 --- a/vymmodel.cpp Wed Jul 30 14:42:03 2008 +0000
1.2 +++ b/vymmodel.cpp Thu Mar 05 09:33:30 2009 +0000
1.3 @@ -120,6 +120,20 @@
1.4 return NULL;
1.5 }
1.6
1.7 +MapCenterObj *VymModel::getMapCenterNum (int i)
1.8 +{
1.9 + cout << "MCO i="<<i<<" count="<<mapCenters.count()<<endl;
1.10 + if (i>mapCenters.count()-1 || i<0)
1.11 + return NULL;
1.12 + else
1.13 + return mapCenters.at(i);
1.14 +}
1.15 +
1.16 +int VymModel::countMapCenters()
1.17 +{
1.18 + return mapCenters.count();
1.19 +}
1.20 +
1.21 BranchObj* VymModel::first()
1.22 {
1.23 if (mapCenters.count()>0)