RecipeDB/model/recipe/instruction.cpp

18 lines
284 B
C++
Raw Normal View History

#include "model/recipe/instruction.h"
2018-02-12 19:00:59 +00:00
Instruction::Instruction(){
setHTML("");
}
Instruction::Instruction(string text){
setHTML(text);
}
string Instruction::getHTML(){
return this->htmlText;
}
2018-02-12 19:00:59 +00:00
void Instruction::setHTML(string newText){
this->htmlText = newText;
}