lunch-rest/restaurants/restaurants.hpp
2022-09-24 23:13:42 +02:00

27 lines
983 B
C++

#include "../restaurant.hpp"
#include <libxml++/libxml++.h>
namespace LunchRest {
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";
class UKarlaRestaurant : public Restaurant {
public:
UKarlaRestaurant() : Restaurant("https://ukarlabrno.cz/denni-menu/", "U Karla") {}
virtual ~UKarlaRestaurant() = default;
virtual void parse() override;
};
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;
};
class MahostinaRestaurant : public Restaurant {
public:
MahostinaRestaurant() : Restaurant("https://www.mahostina.cz/", "Má Hostina") {}
virtual ~MahostinaRestaurant() = default;
virtual void parse() override;
};
} // end of namespace LunchRest