~scottydelicious666/brewtarget/brewtarget

« back to all changes in this revision

Viewing changes to src/instruction.h

  • Committer: Mik Firestone
  • Date: 2010-11-12 05:28:03 UTC
  • Revision ID: git-v1:93ad4d2fc81166e80813645c6201476281b5306e
Adding print functionality to the brewday instructions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <QString>
26
26
#include "observable.h"
27
27
#include <string>
 
28
#include <QVector>
28
29
#include <QDomNode>
29
30
#include "BeerXMLElement.h"
30
31
 
44
45
   void setHasTimer(bool has);
45
46
   void setTimerValue(const QString& timerVal);
46
47
   void setCompleted(bool comp);
 
48
   void setInterval(double interval);
 
49
   void setReagent(const QString& reagent);
 
50
 
47
51
 
48
52
   // "get" methods.
49
53
   QString getName();
51
55
   bool getHasTimer();
52
56
   QString getTimerValue();
53
57
   bool getCompleted();
 
58
   QString getReagent(int i);
 
59
   QVector<QString> getReagents();
 
60
   double getInterval();
54
61
 
55
62
private:
56
63
   void setDefaults();
60
67
   bool hasTimer;
61
68
   QString timerValue; // hh:mm:ss
62
69
   bool completed;
 
70
   double interval;     // when the action takes place
 
71
   QVector<QString> reagents; // what the action works on
63
72
};
64
73
 
65
74
#endif  /* _INSTRUCTION_H */