#ifndef COOKBOOK_H #define COOKBOOK_H #include #include #include "define.h" #include "cook.h" class CookBook { public: CookBook() {} CookBook(Define::CookType type); QList list; Cook get(int index); QString name(QString root); private: struct ListEntity { QString directory; QString name; }; Define::CookType type; QString root; QList book; }; #endif // COOKBOOK_H