Seafood/Fishes.h
author John Kern <johnk@symbian.org>
Wed, 31 Mar 2010 16:09:36 -0700
changeset 11 f3dbeee07821
parent 10 79eeacfd15ff
child 14 a16afe3df8c9
permissions -rwxr-xr-x
instrumented with debugging output

#ifndef FISHES_H
#define FISHES_H

#include <QObject>
#include <QStringList>

class Fishes : public QObject
{
    Q_OBJECT
public:
    Fishes(QObject *parent=0);
    enum TCATEGORIES {EPresentBest=0, EPresentOK, EPresentWorst};

    const QStringList GetBest();
    const QStringList GetOK();
    const QStringList GetWorst();
    const QString GetDbErr() { return dbErrString; };

    QString getEcoDetails(QString name);

private:
    void populate(TCATEGORIES cat);
    QStringList bestFish;
    QStringList okFish;
    QStringList worstFish;
    QString dbErrString;
};

#endif // FISHES_H