RecipeDB/model/recipe/instruction.h

28 lines
467 B
C
Raw Normal View History

#ifndef INSTRUCTION_H
#define INSTRUCTION_H
2018-02-12 19:00:59 +00:00
#include <string>
using namespace std;
/**
* @brief The Instruction class is meant to hold an HTML document in string form, which holds formatted text as the instructions for the recipe.
*/
class Instruction
{
public:
Instruction();
2018-02-12 19:00:59 +00:00
Instruction(string text);
//Getters
string getHTML() const;
2018-02-12 19:00:59 +00:00
//Setters
void setHTML(string newText);
private:
string htmlText;
};
2018-02-12 19:00:59 +00:00
#endif // INSTRUCTION_H