Class Definitions
This commit is contained in:
@@ -1,5 +1,21 @@
|
||||
/*
|
||||
Author: Joel Mathew Thomas
|
||||
Date: 17-02-2026
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <vector>
|
||||
#include "User.h"
|
||||
#include "Restaurant.h"
|
||||
#include "MenuItem.h"
|
||||
|
||||
using restaurants = std::vector<Restaurant*>;
|
||||
|
||||
class RestaurantOwner : public User
|
||||
{
|
||||
private:
|
||||
restaurants m_restaurants;
|
||||
public:
|
||||
void addRestaurant(Restaurant*);
|
||||
restaurants& getRestaurants();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user