Blame view

app/gui/oven_control/cookbook.h 433 Bytes
6a81d38e4   김태훈   자동 요리 관련 로직 전면 재작성
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  #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);
  
  private:
      struct ListEntity {
          QString directory;
          QString name;
      };
  
      Define::CookType type;
      QString root;
      QList<ListEntity> book;
  };
  
  #endif // COOKBOOK_H