RecipeDB/model/recipe/instruction.cpp

18 lines
284 B
C++

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