2018-02-12 14:15:04 +00:00
|
|
|
#include "model/recipe/instruction.h"
|
2018-02-02 12:27:57 +00:00
|
|
|
|
2018-02-12 19:00:59 +00:00
|
|
|
Instruction::Instruction(){
|
|
|
|
setHTML("");
|
|
|
|
}
|
|
|
|
|
|
|
|
Instruction::Instruction(string text){
|
|
|
|
setHTML(text);
|
|
|
|
}
|
|
|
|
|
2018-02-13 09:22:05 +00:00
|
|
|
string Instruction::getHTML() const{
|
2018-02-12 19:00:59 +00:00
|
|
|
return this->htmlText;
|
|
|
|
}
|
2018-02-02 12:27:57 +00:00
|
|
|
|
2018-02-12 19:00:59 +00:00
|
|
|
void Instruction::setHTML(string newText){
|
|
|
|
this->htmlText = newText;
|
2018-02-02 12:27:57 +00:00
|
|
|
}
|