#ifndef MULTICOOKBOOK_H #define MULTICOOKBOOK_H #include #include "define.h" #include "multiautocook.h" #include "cookbook.h" class MultiCookBook : public QObject { Q_OBJECT public: explicit MultiCookBook(QObject *parent = 0); void setMode(Define::Mode mode); void setType(Define::CookType type); bool checkType(Define::CookType type); QList names(); MultiAutoCook *cook(int index); signals: public slots: private: Define::Mode mode; Define::CookType type; CookBook book; QList availables; QList roots; void loadTypes(); void loadCooks(); }; #endif // MULTICOOKBOOK_H