2f6b55128
김태훈
다중 요리 구현
|
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
30
31
32
33
34
|
#ifndef MULTICOOK_H
#define MULTICOOK_H
#include <QObject>
#include <QTime>
#include "define.h"
class MultiCook : public QObject
{
Q_OBJECT
public:
explicit MultiCook(QObject *parent = 0);
virtual QString name() = 0;
virtual Define::Mode mode() = 0;
virtual int temperature() = 0;
virtual int humidity() = 0;
virtual int remainingTime() = 0;
virtual void increaseTime() = 0;
virtual void decreaseTime() = 0;
virtual void setTime() = 0;
virtual void start() = 0;
virtual void stop() = 0;
virtual void pause() = 0;
virtual void resume() = 0;
virtual MultiCook *clone(QObject *parent = 0) = 0;
virtual bool equals(MultiCook *other) = 0;
};
#endif // MULTICOOK_H
|