2 /***************************************************************************
4 * Sedbuk.cpp Copyright (C) 2008 by Jon Rumble *
5 * j.w.rumble@reading.ac.uk *
7 * This file is part of HECS, *
9 * HECS is free software: you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation, either version 2 of the License, or *
12 * (at your option) any later version. *
14 * HECS is distributed in the hope that it will be useful, *
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
17 * GNU General Public License for more details. *
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
20 * You should have received a copy of the GNU General Public License *
21 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
22 ***************************************************************************/
29 #include <QTextStream>
32 #include <QHashIterator>
33 #include <QStringList>
43 SedbukList (const QString fileNameIn
);
45 void updateSedbukDatabase();
46 QString
get_revisionDate();
47 bool get_sedbukAvail();
49 QStringList
getBrandList(int fuel_type
);
50 QStringList
getModelList (QString brandNameIn
);
51 Boiler
findBoiler (const QString
& modelStr
);
52 QStringList
getBoilerBrands(int fuel_type
);
54 void openFile(QString fileName
);
66 QString m_revisionDate
;
67 QHash
<QString
, Boiler
> boilerHash
;
68 void parseVersion(QString versionString
);
69 void parseBoilerTable(QString parseStr
);