RecipeDB/model/recipe/instruction.cpp

18 lines
290 B
C++

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