2020-09-15 15:25:27 +00:00
|
|
|
#include "../restaurant.hpp"
|
2020-09-16 09:20:06 +00:00
|
|
|
#include <libxml++/libxml++.h>
|
2020-09-15 15:25:27 +00:00
|
|
|
|
|
|
|
namespace LunchRest {
|
2022-09-24 21:13:42 +00:00
|
|
|
const std::string parseError = "Could not retreive menu";
|
|
|
|
const std::string parseInfo = "Please contact the developer, likely the restaurant website changed and requires a new parser";
|
2020-09-15 15:25:27 +00:00
|
|
|
class UKarlaRestaurant : public Restaurant {
|
|
|
|
public:
|
2021-02-09 22:23:37 +00:00
|
|
|
UKarlaRestaurant() : Restaurant("https://ukarlabrno.cz/denni-menu/", "U Karla") {}
|
2020-09-15 15:25:27 +00:00
|
|
|
virtual ~UKarlaRestaurant() = default;
|
|
|
|
virtual void parse() override;
|
|
|
|
};
|
2022-03-02 07:35:36 +00:00
|
|
|
class TaoRestaurant : public Restaurant {
|
|
|
|
public:
|
|
|
|
TaoRestaurant() : Restaurant("https://www.taorestaurant.cz/tydenni_menu/nabidka/", "Táo Viet Nam") {}
|
|
|
|
virtual ~TaoRestaurant() = default;
|
|
|
|
virtual void parse() override;
|
2020-09-20 14:27:49 +00:00
|
|
|
};
|
2022-03-03 06:13:44 +00:00
|
|
|
class MahostinaRestaurant : public Restaurant {
|
|
|
|
public:
|
|
|
|
MahostinaRestaurant() : Restaurant("https://www.mahostina.cz/", "Má Hostina") {}
|
|
|
|
virtual ~MahostinaRestaurant() = default;
|
|
|
|
virtual void parse() override;
|
|
|
|
};
|
2020-09-15 15:25:27 +00:00
|
|
|
} // end of namespace LunchRest
|
|
|
|
|