1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef COOKPROGRAM_H #define COOKPROGRAM_H #include "cookhistory.h" namespace CookProgram { void add(AutoCookSetting cook); void add(ManualCookSetting cook); void remove(CookRecord record); void rename(CookRecord record, QString name); void save(); void discard(); QList<CookRecord> listAuto(); QList<CookRecord> listManual(); } #endif // COOKPROGRAM_H