cookbook.h 465 Bytes
#ifndef COOKBOOK_H
#define COOKBOOK_H

#include <QtCore>
#include <QList>

#include "define.h"
#include "cook.h"

class CookBook
{
public:
    CookBook() {}
    CookBook(Define::CookType type);
    QList<QString> list;
    Cook get(int index);
    QString name(QString root);

private:
    struct ListEntity {
        QString directory;
        QString name;
    };

    Define::CookType type;
    QString root;
    QList<ListEntity> book;
};

#endif // COOKBOOK_H